tools/python-jenkinsapi.git
11 years agoadd a new doc
salimfadhley [Thu, 17 Oct 2013 00:28:43 +0000 (01:28 +0100)]
add a new doc

11 years agoChanged authors to the more correct 'contributors'
salimfadhley [Thu, 17 Oct 2013 00:18:41 +0000 (01:18 +0100)]
Changed authors to the more correct 'contributors'

11 years agoAdded a reminder not to contact authors directly.
salimfadhley [Thu, 17 Oct 2013 00:18:12 +0000 (01:18 +0100)]
Added a reminder not to contact authors directly.

11 years agoadded installation notes
salimfadhley [Thu, 17 Oct 2013 00:15:30 +0000 (01:15 +0100)]
added installation notes

11 years agoversion bump
salimfadhley [Thu, 17 Oct 2013 00:05:07 +0000 (01:05 +0100)]
version bump

11 years agoAdd some more comments.
salimfadhley [Wed, 16 Oct 2013 23:29:14 +0000 (00:29 +0100)]
Add some more comments.

11 years agotidy up imports
salimfadhley [Wed, 16 Oct 2013 23:27:21 +0000 (00:27 +0100)]
tidy up imports

11 years agoAdd warnings to functions with 0% coverage.
salimfadhley [Wed, 16 Oct 2013 23:24:34 +0000 (00:24 +0100)]
Add warnings to functions with 0% coverage.

11 years agoMerge branch 'master' of https://github.com/salimfadhley/jenkinsapi
salimfadhley [Wed, 16 Oct 2013 23:17:23 +0000 (00:17 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi

11 years agoAdded a borderline useless test to matrix jobs.
salimfadhley [Wed, 16 Oct 2013 23:16:45 +0000 (00:16 +0100)]
Added a borderline useless test to matrix jobs.

11 years agoMerge pull request #179 from lphoward/178
Salim Fadhley [Tue, 15 Oct 2013 20:07:33 +0000 (13:07 -0700)]
Merge pull request #179 from lphoward/178

Fixes for Issue [#178]

11 years agoadded tests for parameterized builds for issue [#178]
lphoward [Tue, 15 Oct 2013 12:33:45 +0000 (07:33 -0500)]
added tests for parameterized builds for issue [#178]

11 years agopep8
lphoward [Tue, 15 Oct 2013 12:32:32 +0000 (07:32 -0500)]
pep8

11 years agorespect parameterized builds when checking build requests and add has_queued_build...
lphoward [Mon, 14 Oct 2013 20:29:13 +0000 (15:29 -0500)]
respect parameterized builds when checking build requests and add has_queued_build method

11 years agoadd get_parameters to QueueItem and fix get_queue_items_for_job in Queue
lphoward [Mon, 14 Oct 2013 20:27:02 +0000 (15:27 -0500)]
add get_parameters to QueueItem and fix get_queue_items_for_job in Queue

11 years agoget rid of unpleasent use of Super
salimfadhley [Sat, 12 Oct 2013 17:36:54 +0000 (18:36 +0100)]
get rid of unpleasent use of Super

11 years agodisable an annoying pylint warning
salimfadhley [Sat, 12 Oct 2013 17:35:41 +0000 (18:35 +0100)]
disable an annoying pylint warning

11 years agomore lint fixes
salimfadhley [Sat, 12 Oct 2013 17:34:06 +0000 (18:34 +0100)]
more lint fixes

11 years agoAdd some missing doctext.
salimfadhley [Sat, 12 Oct 2013 17:00:46 +0000 (18:00 +0100)]
Add some missing doctext.

11 years agomany pep8 violations fixed
salimfadhley [Sat, 12 Oct 2013 16:55:29 +0000 (17:55 +0100)]
many pep8 violations fixed

11 years agofix up some imports
salimfadhley [Sat, 12 Oct 2013 16:34:06 +0000 (17:34 +0100)]
fix up some imports

11 years agostill broken
salimfadhley [Fri, 11 Oct 2013 23:58:28 +0000 (00:58 +0100)]
still broken

11 years agoversion bump
salimfadhley [Fri, 11 Oct 2013 22:45:54 +0000 (23:45 +0100)]
version bump

11 years agofix up some tests
salimfadhley [Fri, 11 Oct 2013 22:45:28 +0000 (23:45 +0100)]
fix up some tests

11 years agoresolve conflicts
salimfadhley [Fri, 11 Oct 2013 22:31:13 +0000 (23:31 +0100)]
resolve conflicts

11 years agotidy ups
salimfadhley [Fri, 11 Oct 2013 22:24:08 +0000 (23:24 +0100)]
tidy ups

11 years agoMerge pull request #177 from hughdbrown/master
Salim Fadhley [Fri, 11 Oct 2013 22:09:46 +0000 (15:09 -0700)]
Merge pull request #177 from hughdbrown/master

Pep8 and pylint fixes to code

11 years agoChange id() call to identifier()
Hugh Brown [Fri, 11 Oct 2013 04:17:05 +0000 (00:17 -0400)]
Change id() call to identifier()

11 years agoRevert overreaching change
Hugh Brown [Fri, 11 Oct 2013 04:16:45 +0000 (00:16 -0400)]
Revert overreaching change

11 years agoRemove passing now-deleted parameter (deleted because it was not used in method)
Hugh Brown [Fri, 11 Oct 2013 03:53:28 +0000 (23:53 -0400)]
Remove passing now-deleted parameter (deleted because it was not used in method)

11 years agoRename Result.id() to Result.identifier (builtin id)
Hugh Brown [Fri, 11 Oct 2013 03:52:38 +0000 (23:52 -0400)]
Rename Result.id() to Result.identifier (builtin id)

11 years agopylint fixes for jenkinsapi_tests/
Hugh Brown [Fri, 11 Oct 2013 03:35:33 +0000 (23:35 -0400)]
pylint fixes for jenkinsapi_tests/

11 years agopylint fixes for jenkinsapi/
Hugh Brown [Fri, 11 Oct 2013 03:35:13 +0000 (23:35 -0400)]
pylint fixes for jenkinsapi/

11 years agoFix None comparisons and arithmetic spacing
Hugh Brown [Fri, 11 Oct 2013 02:08:41 +0000 (22:08 -0400)]
Fix None comparisons and arithmetic spacing

11 years agoFix pep8 errors in examples/
Hugh Brown [Fri, 11 Oct 2013 02:08:06 +0000 (22:08 -0400)]
Fix pep8 errors in examples/

11 years agoFix pep8 errors in examples/
Hugh Brown [Fri, 11 Oct 2013 02:00:08 +0000 (22:00 -0400)]
Fix pep8 errors in examples/

11 years agopep8 fixes in test and utils directories
Hugh Brown [Fri, 11 Oct 2013 01:56:35 +0000 (21:56 -0400)]
pep8 fixes in test and utils directories

11 years agoFix pep8 errors in setup.py
Hugh Brown [Fri, 11 Oct 2013 01:50:13 +0000 (21:50 -0400)]
Fix pep8 errors in setup.py

11 years agoPatch tests and utils: exceptions to custom_exceptions
Hugh Brown [Fri, 11 Oct 2013 01:43:18 +0000 (21:43 -0400)]
Patch tests and utils: exceptions to custom_exceptions

11 years agoPatch tests and utils: exceptions to custom_exceptions
Hugh Brown [Fri, 11 Oct 2013 01:39:06 +0000 (21:39 -0400)]
Patch tests and utils: exceptions to custom_exceptions

11 years agoDisable I0011 pylint message
Hugh Brown [Fri, 11 Oct 2013 00:08:38 +0000 (20:08 -0400)]
Disable I0011 pylint message

11 years agoRename exceptions to custom_exceptions (because exceptions screws up pylint)
Hugh Brown [Fri, 11 Oct 2013 00:04:44 +0000 (20:04 -0400)]
Rename exceptions to custom_exceptions (because exceptions screws up pylint)

11 years agoDisable 'Unexpected keyword arg' error
Hugh Brown [Thu, 10 Oct 2013 23:55:22 +0000 (19:55 -0400)]
Disable 'Unexpected keyword arg' error

11 years agoUnnecessary lambda?
Hugh Brown [Thu, 10 Oct 2013 23:54:45 +0000 (19:54 -0400)]
Unnecessary lambda?

11 years agoDo not use variables that clash with builtins (id, range, type)
Hugh Brown [Thu, 10 Oct 2013 22:24:44 +0000 (18:24 -0400)]
Do not use variables that clash with builtins (id, range, type)

11 years agoBest guess at using unused variable
Hugh Brown [Thu, 10 Oct 2013 23:15:13 +0000 (19:15 -0400)]
Best guess at using unused variable

11 years agoBest guess at why a variable is undefined
Hugh Brown [Thu, 10 Oct 2013 23:13:33 +0000 (19:13 -0400)]
Best guess at why a variable is undefined

11 years agoUse longer variable name
Hugh Brown [Thu, 10 Oct 2013 23:11:12 +0000 (19:11 -0400)]
Use longer variable name

11 years agoUse longer variable name
Hugh Brown [Thu, 10 Oct 2013 23:11:03 +0000 (19:11 -0400)]
Use longer variable name

11 years agoUse good variable name
Hugh Brown [Thu, 10 Oct 2013 23:08:46 +0000 (19:08 -0400)]
Use good variable name

11 years agoUse longer variable name
Hugh Brown [Thu, 10 Oct 2013 23:07:13 +0000 (19:07 -0400)]
Use longer variable name

11 years agoFix use of for-else with no break
Hugh Brown [Thu, 10 Oct 2013 23:04:20 +0000 (19:04 -0400)]
Fix use of for-else with no break

11 years agoFool with pylintrc
Hugh Brown [Thu, 10 Oct 2013 23:02:20 +0000 (19:02 -0400)]
Fool with pylintrc

11 years agoSplit overlong line
Hugh Brown [Thu, 10 Oct 2013 23:02:06 +0000 (19:02 -0400)]
Split overlong line

11 years agoLookup in dict
Hugh Brown [Thu, 10 Oct 2013 22:55:55 +0000 (18:55 -0400)]
Lookup in dict

11 years agoMove docstring before code
Hugh Brown [Thu, 10 Oct 2013 22:53:35 +0000 (18:53 -0400)]
Move docstring before code

11 years agoModify over-long lines
Hugh Brown [Thu, 10 Oct 2013 22:49:26 +0000 (18:49 -0400)]
Modify over-long lines

11 years agoRenaming variable that masks one in outer scope
Hugh Brown [Thu, 10 Oct 2013 22:47:41 +0000 (18:47 -0400)]
Renaming variable that masks one in outer scope

11 years agoInitialize instance variable inside ctor
Hugh Brown [Thu, 10 Oct 2013 22:45:18 +0000 (18:45 -0400)]
Initialize instance variable inside ctor

11 years agoFix dangerous default argument
Hugh Brown [Thu, 10 Oct 2013 22:43:14 +0000 (18:43 -0400)]
Fix dangerous default argument

11 years agoAdd docstring to class
Hugh Brown [Thu, 10 Oct 2013 22:39:10 +0000 (18:39 -0400)]
Add docstring to class

11 years agoRemove unneeded argument in internal method
Hugh Brown [Thu, 10 Oct 2013 22:37:04 +0000 (18:37 -0400)]
Remove unneeded argument in internal method

11 years agoSplit long lines
Hugh Brown [Thu, 10 Oct 2013 22:32:42 +0000 (18:32 -0400)]
Split long lines

11 years agoImplement methods with dict-like primitives
Hugh Brown [Thu, 10 Oct 2013 22:29:12 +0000 (18:29 -0400)]
Implement methods with dict-like primitives

11 years agoPut dict to use
Hugh Brown [Thu, 10 Oct 2013 22:26:55 +0000 (18:26 -0400)]
Put dict to use

11 years agoFix pylint errors relating to collection implementation
Hugh Brown [Thu, 10 Oct 2013 22:07:54 +0000 (18:07 -0400)]
Fix pylint errors relating to collection implementation

11 years agoUse dict.get to simplify test and iteration
Hugh Brown [Thu, 10 Oct 2013 22:00:49 +0000 (18:00 -0400)]
Use dict.get to simplify test and iteration

11 years agoChange class name jenkins_invoke to JenkinsInvoke (camelcase)
Hugh Brown [Thu, 10 Oct 2013 21:52:39 +0000 (17:52 -0400)]
Change class name jenkins_invoke to JenkinsInvoke (camelcase)

11 years agoAdd module and class docstrings
Hugh Brown [Thu, 10 Oct 2013 21:47:56 +0000 (17:47 -0400)]
Add module and class docstrings

11 years agoRemove dead file
Hugh Brown [Thu, 10 Oct 2013 21:39:45 +0000 (17:39 -0400)]
Remove dead file

11 years agoRemove unused imports
Hugh Brown [Thu, 10 Oct 2013 21:23:29 +0000 (17:23 -0400)]
Remove unused imports

11 years agoFix pylint error relating to logging
Hugh Brown [Thu, 10 Oct 2013 21:19:05 +0000 (17:19 -0400)]
Fix pylint error relating to logging

11 years agoAdd module docstring
Hugh Brown [Thu, 10 Oct 2013 21:11:42 +0000 (17:11 -0400)]
Add module docstring

11 years agoUse list comprehension; split long lines
Hugh Brown [Thu, 10 Oct 2013 21:08:55 +0000 (17:08 -0400)]
Use list comprehension; split long lines

11 years agoMerge multiple docstrings
Hugh Brown [Thu, 10 Oct 2013 21:00:42 +0000 (17:00 -0400)]
Merge multiple docstrings

11 years agoRemove unneeded imports
Hugh Brown [Thu, 10 Oct 2013 20:59:28 +0000 (16:59 -0400)]
Remove unneeded imports

11 years agoFix over-indentation
Hugh Brown [Thu, 10 Oct 2013 20:58:08 +0000 (16:58 -0400)]
Fix over-indentation

11 years agoAdd pylint config
Hugh Brown [Thu, 10 Oct 2013 20:49:10 +0000 (16:49 -0400)]
Add pylint config

11 years agoAdd pep8 and pylint to .travis.yml
Hugh Brown [Thu, 10 Oct 2013 20:46:55 +0000 (16:46 -0400)]
Add pep8 and pylint to .travis.yml

11 years agoChange import for pylint error
Hugh Brown [Thu, 10 Oct 2013 20:25:18 +0000 (16:25 -0400)]
Change import for pylint error

11 years agoReformat __all__
Hugh Brown [Thu, 10 Oct 2013 20:19:49 +0000 (16:19 -0400)]
Reformat __all__

11 years agoFix really long lines
Hugh Brown [Thu, 10 Oct 2013 20:19:34 +0000 (16:19 -0400)]
Fix really long lines

11 years agoFix indentation of block
Hugh Brown [Thu, 10 Oct 2013 20:08:46 +0000 (16:08 -0400)]
Fix indentation of block

11 years agoRemove use of has_key
Hugh Brown [Thu, 10 Oct 2013 20:04:13 +0000 (16:04 -0400)]
Remove use of has_key

11 years agoSplit lines joined by semicolon
Hugh Brown [Thu, 10 Oct 2013 19:50:32 +0000 (15:50 -0400)]
Split lines joined by semicolon

11 years agoFix whitespace around operators
Hugh Brown [Thu, 10 Oct 2013 19:47:46 +0000 (15:47 -0400)]
Fix whitespace around operators

11 years agoAdd trailing newline in file
Hugh Brown [Thu, 10 Oct 2013 19:44:10 +0000 (15:44 -0400)]
Add trailing newline in file

11 years agoFix whitespace issues
Hugh Brown [Thu, 10 Oct 2013 19:43:07 +0000 (15:43 -0400)]
Fix whitespace issues

11 years agoadd support for FILE parameters.
Damien Nozay [Thu, 10 Oct 2013 06:05:53 +0000 (23:05 -0700)]
add support for FILE parameters.

if a job requires file paremeters, then we cannot use the /build form to
request the build, we need to switch to the /buildWithParameters trigger
and provide a multipart encoded upload.

thankfully requests library has all the plumbing.

11 years agoMerge branch 'folders_plugin_fix' of https://github.com/willthames/jenkinsapi into...
salimfadhley [Sun, 6 Oct 2013 21:37:56 +0000 (22:37 +0100)]
Merge branch 'folders_plugin_fix' of https://github.com/willthames/jenkinsapi into unstable

11 years agomerge some recent fixes
salimfadhley [Sun, 6 Oct 2013 21:36:35 +0000 (22:36 +0100)]
merge some recent fixes

11 years agoTry to be consistent about what type is returned
salimfadhley [Sun, 6 Oct 2013 21:33:22 +0000 (22:33 +0100)]
Try to be consistent about what type is returned

11 years agoMerge pull request #175 from Smartesting/fetch_all_builds
Salim Fadhley [Sun, 6 Oct 2013 21:30:57 +0000 (14:30 -0700)]
Merge pull request #175 from Smartesting/fetch_all_builds

Fetch full build list of job when incomplete

11 years agoFetch full build list when incomplete
Christophe Bliard [Fri, 4 Oct 2013 16:12:18 +0000 (18:12 +0200)]
Fetch full build list when incomplete

By default, Jenkins returns the last 100 builds. If there are more
builds, an extra api call is made to have all builds in the job object

11 years agoensure virtualenv installed and WORKSPACE defined
Christophe Bliard [Fri, 4 Oct 2013 13:38:13 +0000 (15:38 +0200)]
ensure virtualenv installed and WORKSPACE defined

11 years agoAdd Plugins#__str__
Christophe Bliard [Fri, 4 Oct 2013 12:23:07 +0000 (14:23 +0200)]
Add Plugins#__str__

Because when doing jenkins.get_plugins() in an interactive python shell,
the behavior was to use the JenkinsBase#__str__ which throws a
NotImplementedError

11 years agoRaise NoBuildData when latestBuild etc. not even set
willthames [Wed, 2 Oct 2013 07:59:20 +0000 (17:59 +1000)]
Raise NoBuildData when latestBuild etc. not even set

The Folders plugin uses jobs as a container for folders.
However, a lot of standard job keys, such as lastBuild et al.
are not even present (unlike a never run job where they are
present but set to None)

Since a value of None for latestBuild causes a NoBuildData
exception, the same exception should be fine when not present.

11 years agoTemporarily disable a test.
salimfadhley [Tue, 1 Oct 2013 23:12:24 +0000 (00:12 +0100)]
Temporarily disable a test.

11 years agoMerge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable
salimfadhley [Tue, 1 Oct 2013 22:57:26 +0000 (23:57 +0100)]
Merge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable

11 years agoMerge branch 'master' of https://github.com/rocktavious/jenkinsapi into unstable
salimfadhley [Tue, 1 Oct 2013 22:56:40 +0000 (23:56 +0100)]
Merge branch 'master' of https://github.com/rocktavious/jenkinsapi into unstable