tools/python-jenkinsapi.git
10 years agominor fix to exception messages to improve readability.
Sateesh [Thu, 20 Mar 2014 15:17:39 +0000 (20:47 +0530)]
minor fix to exception messages to improve readability.

10 years agoMerge pull request #223 from sateeshkumarb/version_query
Aleksey Maksimov [Sun, 8 Dec 2013 06:54:01 +0000 (22:54 -0800)]
Merge pull request #223 from sateeshkumarb/version_query

Added method to get Jenkins version

10 years agoFix pep8 violation
Sateesh Kumar [Sun, 8 Dec 2013 03:37:02 +0000 (09:07 +0530)]
Fix pep8 violation

10 years agoMake version a property
Sateesh Kumar [Sun, 8 Dec 2013 03:24:32 +0000 (08:54 +0530)]
Make version a property

10 years agoFix pylint warnings
Sateesh Kumar [Sat, 7 Dec 2013 16:55:53 +0000 (22:25 +0530)]
Fix pylint warnings

10 years agoUpdate to show version usage
Sateesh Kumar [Sat, 7 Dec 2013 16:33:40 +0000 (22:03 +0530)]
Update to show version usage

10 years agoAdd method to return Jenkins Version
Sateesh Kumar [Sat, 7 Dec 2013 16:24:38 +0000 (21:54 +0530)]
Add method to return Jenkins Version

10 years agoMerge pull request #214 from lechat/delete_view_by_url_fix
Aleksey Maksimov [Fri, 29 Nov 2013 16:34:49 +0000 (08:34 -0800)]
Merge pull request #214 from lechat/delete_view_by_url_fix

Moved delete_view_by_url back to jenkins object Issue #209

10 years agoMoved delete_view_by_url back to jenkins object
Aleksey Maksimov [Fri, 29 Nov 2013 16:21:05 +0000 (00:21 +0800)]
Moved delete_view_by_url back to jenkins object

10 years agoMerge pull request #213 from pdunnigan/master
Salim Fadhley [Wed, 27 Nov 2013 00:08:26 +0000 (16:08 -0800)]
Merge pull request #213 from pdunnigan/master

error "Problem accessing /queue/api/python" when attempting parameterized build on jenkins server using prefix / context path

10 years agofix for block until queued error on jenkins server with prefix / context path, remove...
pdunnigan [Tue, 26 Nov 2013 21:22:59 +0000 (16:22 -0500)]
fix for block until queued error on jenkins server with prefix / context path, removed urlparse.urljoin which stripped the prefix

10 years agoMerge pull request #207 from lechat/json_change
Aleksey Maksimov [Tue, 26 Nov 2013 12:06:51 +0000 (04:06 -0800)]
Merge pull request #207 from lechat/json_change

Replaced eval() with safer ast.literal_eval().

Latest version of Jenkins actually suggests using that method.

10 years agoMerge pull request #208 from lechat/fix_api
Aleksey Maksimov [Sat, 23 Nov 2013 10:15:52 +0000 (02:15 -0800)]
Merge pull request #208 from lechat/fix_api

Updated api module

10 years agoUpdated api module
Aleksey Maksimov [Sat, 23 Nov 2013 10:06:34 +0000 (18:06 +0800)]
Updated api module

  Added optional username and password to all methods
  Fixed #203
  Fixed #201

10 years agoMerge pull request #206 from linnik/master
Aleksey Maksimov [Sat, 23 Nov 2013 09:41:46 +0000 (01:41 -0800)]
Merge pull request #206 from linnik/master

Jobs without the first build can throw error

10 years agoFix: error message was not giving job name
Aleksey Maksimov [Sat, 23 Nov 2013 09:29:12 +0000 (17:29 +0800)]
Fix: error message was not giving job name

10 years agoChanged eval() to ast.literal_eval() for safety
Aleksey Maksimov [Sat, 23 Nov 2013 09:28:34 +0000 (17:28 +0800)]
Changed eval() to ast.literal_eval() for safety

10 years agoadd unit test for jobs without first build
Vyacheslav Linnik [Fri, 22 Nov 2013 07:16:45 +0000 (11:16 +0400)]
add unit test for jobs without first build

10 years agoJobs without the first build can throw error
Vyacheslav Linnik [Fri, 22 Nov 2013 04:21:54 +0000 (08:21 +0400)]
Jobs without the first build can throw error

10 years agoMerge pull request #202 from lechat/git_branch
Aleksey Maksimov [Wed, 20 Nov 2013 08:05:45 +0000 (00:05 -0800)]
Merge pull request #202 from lechat/git_branch

Added function to get git branch from build and fixed failing systests

10 years agoRemoved unused import
Aleksey Maksimov [Wed, 20 Nov 2013 03:36:50 +0000 (11:36 +0800)]
Removed unused import

10 years agoAdded another delay to let Jenkins catchup
Aleksey Maksimov [Wed, 20 Nov 2013 03:21:49 +0000 (11:21 +0800)]
Added another delay to let Jenkins catchup

10 years agoAdded delay to let Jenkins to catchup with invocation
Aleksey Maksimov [Wed, 20 Nov 2013 03:07:12 +0000 (11:07 +0800)]
Added delay to let Jenkins to catchup with invocation

10 years agoMade invocation.get_job_number to poll job
Aleksey Maksimov [Wed, 20 Nov 2013 02:36:16 +0000 (10:36 +0800)]
Made invocation.get_job_number to poll job

10 years agoAdded build.get_revision_branch method (Git only)
Aleksey Maksimov [Wed, 20 Nov 2013 02:24:02 +0000 (10:24 +0800)]
Added build.get_revision_branch method (Git only)

10 years agoMerge pull request #194 from adamreid/master
Salim Fadhley [Thu, 31 Oct 2013 23:47:05 +0000 (16:47 -0700)]
Merge pull request #194 from adamreid/master

Randomize jenkins http port for systests #181

10 years agoMerge pull request #191 from makewhatis/executor_module
Salim Fadhley [Thu, 31 Oct 2013 23:46:14 +0000 (16:46 -0700)]
Merge pull request #191 from makewhatis/executor_module

Added ability to query slaves for executors.

10 years agoAdding myself as a contributor
David Johansen [Wed, 30 Oct 2013 20:03:47 +0000 (13:03 -0700)]
Adding myself as a contributor

10 years agoRandomize jenkins http port for systests to avoid collision with default 8080
Adam Reid [Wed, 30 Oct 2013 19:57:37 +0000 (15:57 -0400)]
Randomize jenkins http port for systests to avoid collision with default 8080

10 years agoAdded systests for executor feature. Other fixes.
David Johansen [Tue, 29 Oct 2013 23:59:49 +0000 (16:59 -0700)]
Added systests for executor feature. Other fixes.

 - fixed missing index in executor.
 - removed unnecessary try/except block in executors

10 years agoAdded ability to query slaves for executors.
David Johansen [Tue, 29 Oct 2013 02:29:17 +0000 (19:29 -0700)]
Added ability to query slaves for executors.

  - can pull list of executor objects for
    each slave
  - added unit tests for new code.

10 years agomade the wait-period longer for this test.
salimfadhley [Sat, 26 Oct 2013 08:48:24 +0000 (09:48 +0100)]
made the wait-period longer for this test.

10 years agoSome tidy-ups
salimfadhley [Sat, 26 Oct 2013 08:33:19 +0000 (09:33 +0100)]
Some tidy-ups

10 years agoTidy up this test - still quite bad & useless.
salimfadhley [Fri, 25 Oct 2013 22:40:54 +0000 (23:40 +0100)]
Tidy up this test - still quite bad & useless.

10 years agoMerge pull request #189 from saschpe/master-contributors
Salim Fadhley [Wed, 23 Oct 2013 10:35:23 +0000 (03:35 -0700)]
Merge pull request #189 from saschpe/master-contributors

Add myself to contributors as requested

10 years agoAdd myself to contributors as requested
Sascha Peilicke [Wed, 23 Oct 2013 09:31:11 +0000 (11:31 +0200)]
Add myself to contributors as requested

10 years agoMerge pull request #188 from saschpe/master-nose-fixup
Salim Fadhley [Wed, 23 Oct 2013 09:08:40 +0000 (02:08 -0700)]
Merge pull request #188 from saschpe/master-nose-fixup

Fixup commit 2b14616c6a9577b4

10 years agoFixup commit 2b14616c6a9577b4
Sascha Peilicke [Wed, 23 Oct 2013 07:09:19 +0000 (09:09 +0200)]
Fixup commit 2b14616c6a9577b4

Add a section about running tests in the README.rst and recommend
using "python setup.py test". Fix the test_suite parameter in setup.py
accordingly.

10 years agoMerge pull request #185 from saschpe/master-nose
Salim Fadhley [Mon, 21 Oct 2013 22:42:54 +0000 (15:42 -0700)]
Merge pull request #185 from saschpe/master-nose

Move nose from setup_requires to test_requires

10 years agoMove nose from setup_requires to test_requires
Sascha Peilicke [Mon, 21 Oct 2013 07:21:43 +0000 (09:21 +0200)]
Move nose from setup_requires to test_requires

nose is only suitable for test discovery and as such is not needed
during setup.py build or install.

10 years agoadd a new doc
salimfadhley [Thu, 17 Oct 2013 00:28:43 +0000 (01:28 +0100)]
add a new doc

10 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'

10 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.

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

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

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

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

10 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.

10 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

10 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.

10 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]

10 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]

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

10 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

10 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

10 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

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

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

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

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

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

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

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

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

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

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

10 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

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

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

10 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)

10 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)

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

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

10 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

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

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

10 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

10 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

10 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

10 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

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

10 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)

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

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

10 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)

10 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

10 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

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

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

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

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

10 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

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

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

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

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

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

10 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

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

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