tools/python-jenkinsapi.git
10 years agoadd release script, fix broken landscape.io image in docs
Salim Fadhley [Mon, 21 Jul 2014 01:23:49 +0000 (02:23 +0100)]
add release script, fix broken landscape.io image in docs

10 years agorevert accidental removel of unittest2 from the setup.py script
Salim Fadhley [Sun, 13 Jul 2014 21:29:14 +0000 (22:29 +0100)]
revert accidental removel of unittest2 from the setup.py script

10 years agopre release tidy-ups and version bump
Salim Fadhley [Thu, 10 Jul 2014 23:07:20 +0000 (00:07 +0100)]
pre release tidy-ups and version bump

10 years agoMerge pull request #292 from lechat/get_post
Aleksey Maksimov [Thu, 10 Jul 2014 14:03:41 +0000 (22:03 +0800)]
Merge pull request #292 from lechat/get_post

Fix for issue #291

10 years agoFix for issue #291
Aleksey Maksimov [Thu, 10 Jul 2014 13:50:48 +0000 (21:50 +0800)]
Fix for issue #291

Methods will re-try POST if GET fails

10 years agoMerge pull request #288 from timp21337/master
Salim Fadhley [Tue, 17 Jun 2014 19:56:41 +0000 (20:56 +0100)]
Merge pull request #288 from timp21337/master

Example of adding a shell build

10 years agoExample of adding a shell build
timp21337 [Tue, 17 Jun 2014 16:47:55 +0000 (17:47 +0100)]
Example of adding a shell build

10 years agoMerge pull request #286 from jduan/master
Aleksey Maksimov [Wed, 11 Jun 2014 02:52:52 +0000 (10:52 +0800)]
Merge pull request #286 from jduan/master

Add build.get_causes

10 years agomake tests more robust
Jingjing Duan [Mon, 9 Jun 2014 22:05:44 +0000 (15:05 -0700)]
make tests more robust

10 years agoadd get_causes
Jingjing Duan [Mon, 9 Jun 2014 22:02:23 +0000 (15:02 -0700)]
add get_causes

10 years agoMerge pull request #285 from jduan/get_build_metadata
Aleksey Maksimov [Wed, 4 Jun 2014 23:20:58 +0000 (07:20 +0800)]
Merge pull request #285 from jduan/get_build_metadata

Get build metadata

10 years agoadd comment about depth control
Jingjing Duan [Wed, 4 Jun 2014 22:54:10 +0000 (15:54 -0700)]
add comment about depth control

10 years agoadd job.get_build_metadata
Jingjing Duan [Wed, 4 Jun 2014 21:59:38 +0000 (14:59 -0700)]
add job.get_build_metadata

For large builds, this method can be significantly faster!

10 years agoMerge pull request #282 from lechat/parameters_fix
Aleksey Maksimov [Sat, 24 May 2014 16:43:16 +0000 (00:43 +0800)]
Merge pull request #282 from lechat/parameters_fix

Parameters fix

10 years agoFix for P3 compatibility
Aleksey Maksimov [Sat, 24 May 2014 15:34:46 +0000 (23:34 +0800)]
Fix for P3 compatibility

10 years agoDisabled "too many branches" in pylint
Aleksey Maksimov [Sat, 24 May 2014 15:20:04 +0000 (23:20 +0800)]
Disabled "too many branches" in pylint

10 years agoFix for issue #280
Aleksey Maksimov [Sat, 24 May 2014 15:08:03 +0000 (23:08 +0800)]
Fix for issue #280

Properly pass job parameters via json
When files parameter present select correct job invokation url

10 years agoMerge pull request #277 from lechat/new_job_tests
Aleksey Maksimov [Thu, 1 May 2014 16:44:20 +0000 (00:44 +0800)]
Merge pull request #277 from lechat/new_job_tests

Better tests for job._add_missing_builds()

10 years agoAdded better test to job._add_missing_builds()
Aleksey Maksimov [Thu, 1 May 2014 16:31:54 +0000 (00:31 +0800)]
Added better test to job._add_missing_builds()

10 years agoRevert "Bumped Python from 3.3 to 3.4"
Aleksey Maksimov [Tue, 29 Apr 2014 11:41:27 +0000 (19:41 +0800)]
Revert "Bumped Python from 3.3 to 3.4"

This reverts commit c265fb35d3abe42a2415e07dc269c6490e651841.

11 years agoBumped Python from 3.3 to 3.4
Aleksey Maksimov [Mon, 28 Apr 2014 23:27:42 +0000 (07:27 +0800)]
Bumped Python from 3.3 to 3.4

Because TravisCI now supports 3.4

11 years agoMerge pull request #275 from nmiroshnichenko/master
Aleksey Maksimov [Sat, 26 Apr 2014 07:39:27 +0000 (15:39 +0800)]
Merge pull request #275 from nmiroshnichenko/master

add logging url when non 200 OK response

11 years agoAdded section about Python versions
Aleksey Maksimov [Sat, 26 Apr 2014 07:34:26 +0000 (15:34 +0800)]
Added section about Python versions

11 years agoMerge pull request #276 from lechat/python3_experimental
Aleksey Maksimov [Sat, 26 Apr 2014 07:21:34 +0000 (15:21 +0800)]
Merge pull request #276 from lechat/python3_experimental

Python3 experimental

11 years agoAdded short delay to let job run for a bit
Aleksey Maksimov [Sat, 26 Apr 2014 07:11:58 +0000 (15:11 +0800)]
Added short delay to let job run for a bit

11 years agoadd logging url when non 200 OK response
Nikolay Miroshnichenko [Fri, 25 Apr 2014 21:02:08 +0000 (01:02 +0400)]
add logging url when non 200 OK response

11 years agoAdded small delay to let jenkins catchup
Aleksey Maksimov [Fri, 25 Apr 2014 13:59:10 +0000 (21:59 +0800)]
Added small delay to let jenkins catchup

11 years agoMerge branch 'python3_experimental' of github.com:lechat/jenkinsapi into python3_expe...
Aleksey Maksimov [Fri, 25 Apr 2014 13:55:35 +0000 (21:55 +0800)]
Merge branch 'python3_experimental' of github.com:lechat/jenkinsapi into python3_experimental

11 years agoFixed assertion renamed in P3
Aleksey Maksimov [Fri, 25 Apr 2014 13:34:17 +0000 (21:34 +0800)]
Fixed assertion renamed in P3

11 years agobuild.get_console() now returns string in all python versions
Aleksey Maksimov [Fri, 25 Apr 2014 13:33:31 +0000 (21:33 +0800)]
build.get_console() now returns string in all python versions

11 years agoFixed md5 calculation
Aleksey Maksimov [Wed, 23 Apr 2014 13:07:07 +0000 (21:07 +0800)]
Fixed md5 calculation

11 years agoFixed most of the unit tests to work on all python versions
Aleksey Maksimov [Fri, 18 Apr 2014 09:23:07 +0000 (17:23 +0800)]
Fixed most of the unit tests to work on all python versions

11 years agoFixed assertion renamed in P3
Aleksey Maksimov [Fri, 25 Apr 2014 13:34:17 +0000 (21:34 +0800)]
Fixed assertion renamed in P3

11 years agobuild.get_console() now returns string in all python versions
Aleksey Maksimov [Fri, 25 Apr 2014 13:33:31 +0000 (21:33 +0800)]
build.get_console() now returns string in all python versions

11 years agoFixed md5 calculation
Aleksey Maksimov [Wed, 23 Apr 2014 13:07:07 +0000 (21:07 +0800)]
Fixed md5 calculation

11 years agoFixed most of the unit tests to work on all python versions
Aleksey Maksimov [Fri, 18 Apr 2014 09:23:07 +0000 (17:23 +0800)]
Fixed most of the unit tests to work on all python versions

11 years agoMerge pull request #274 from pdunnigan/master
Aleksey Maksimov [Thu, 24 Apr 2014 17:09:11 +0000 (01:09 +0800)]
Merge pull request #274 from pdunnigan/master

fix for job invoke when no build parameters exist for a particular job

11 years agofixes job invoke when no build parameters exist for a particular job
pdunnigan [Thu, 24 Apr 2014 14:18:45 +0000 (10:18 -0400)]
fixes job invoke when no build parameters exist for a particular job

11 years agoRemoved paragraph about Python 3 branch
Aleksey Maksimov [Wed, 23 Apr 2014 00:19:36 +0000 (08:19 +0800)]
Removed paragraph about Python 3 branch

11 years agoMerge remote-tracking branch 'origin/python3_experimental'
Aleksey Maksimov [Thu, 17 Apr 2014 13:25:18 +0000 (21:25 +0800)]
Merge remote-tracking branch 'origin/python3_experimental'

11 years agoMerge pull request #272 from lechat/small_job_fixes
Aleksey Maksimov [Sat, 12 Apr 2014 17:09:40 +0000 (01:09 +0800)]
Merge pull request #272 from lechat/small_job_fixes

Added another method to remove job  and fixed random test failures

11 years agoMerge pull request #271 from lechat/python3_experimental
Aleksey Maksimov [Sat, 12 Apr 2014 16:58:15 +0000 (00:58 +0800)]
Merge pull request #271 from lechat/python3_experimental

Got all tests working on python 2.6 and 2.7

11 years agoAdded re-try when removing job
Aleksey Maksimov [Sat, 12 Apr 2014 16:48:05 +0000 (00:48 +0800)]
Added re-try when removing job

Becuase Jenkins sometimes breaks for
unknown reason while removing jobs

11 years agoAdded small delay for test_parametrized_build
Aleksey Maksimov [Sat, 12 Apr 2014 16:06:08 +0000 (00:06 +0800)]
Added small delay for test_parametrized_build

so assert will have a chance on fast machines

11 years agoAdded support for 'del' in Jenkins object: remove job
Aleksey Maksimov [Sat, 12 Apr 2014 15:54:07 +0000 (23:54 +0800)]
Added support for 'del' in Jenkins object: remove job

11 years agoAdded re-try when removing job
Aleksey Maksimov [Sat, 12 Apr 2014 16:48:05 +0000 (00:48 +0800)]
Added re-try when removing job

Becuase Jenkins sometimes breaks for
unknown reason while removing jobs

11 years agoAdded small delay for test_parametrized_build
Aleksey Maksimov [Sat, 12 Apr 2014 16:06:08 +0000 (00:06 +0800)]
Added small delay for test_parametrized_build

so assert will have a chance on fast machines

11 years agoAdded support for 'del' in Jenkins object: remove job
Aleksey Maksimov [Sat, 12 Apr 2014 15:54:07 +0000 (23:54 +0800)]
Added support for 'del' in Jenkins object: remove job

11 years agoSet unitest2 to be used only on python 2.6
Aleksey Maksimov [Sat, 12 Apr 2014 15:21:17 +0000 (23:21 +0800)]
Set unitest2 to be used only on python 2.6

11 years agoAdded unittest2 so travis can run tests with recent Python
Aleksey Maksimov [Sat, 12 Apr 2014 15:02:43 +0000 (23:02 +0800)]
Added unittest2 so travis can run tests with recent Python

11 years agoSet to use unittest2 library instead of unittest
Aleksey Maksimov [Sat, 12 Apr 2014 14:55:20 +0000 (22:55 +0800)]
Set to use unittest2 library instead of unittest

This library backports all modern unittest features
to old versions of Python

11 years agoMerge pull request #270 from lechat/python3_experimental
Aleksey Maksimov [Sat, 12 Apr 2014 14:21:16 +0000 (22:21 +0800)]
Merge pull request #270 from lechat/python3_experimental

Python3 experimental. Still failing with python 2.6

11 years agoFixed incorrect merge
Aleksey Maksimov [Sat, 12 Apr 2014 14:00:21 +0000 (22:00 +0800)]
Fixed incorrect merge

11 years agoMerge remote-tracking branch 'upstream/python3_experimental' into python3_experimental
Aleksey Maksimov [Sat, 12 Apr 2014 13:56:25 +0000 (21:56 +0800)]
Merge remote-tracking branch 'upstream/python3_experimental' into python3_experimental

Conflicts:
jenkinsapi/fingerprint.py

11 years agoMerge pull request #266 from sateeshkumarb/master
Aleksey Maksimov [Thu, 10 Apr 2014 16:00:17 +0000 (00:00 +0800)]
Merge pull request #266 from sateeshkumarb/master

Add test to verify fetching of plugin details

11 years agoMerge pull request #269 from lechat/fix_268
Aleksey Maksimov [Thu, 10 Apr 2014 15:57:40 +0000 (23:57 +0800)]
Merge pull request #269 from lechat/fix_268

Fix for issue #268 and unit tests for it

11 years agoFix for issue #268 and unit tests for it
Aleksey Maksimov [Thu, 10 Apr 2014 15:26:35 +0000 (23:26 +0800)]
Fix for issue #268 and unit tests for it

11 years agoAdd test to verify fetching of plugin details,
Sateesh Kumar [Wed, 2 Apr 2014 18:02:08 +0000 (23:32 +0530)]
Add test to verify fetching of plugin details,

11 years agoMerge pull request #265 from sateeshkumarb/patch-1
Aleksey Maksimov [Wed, 2 Apr 2014 00:42:41 +0000 (08:42 +0800)]
Merge pull request #265 from sateeshkumarb/patch-1

Formatting fixes in README.rst

11 years agoFormatting fixes
Sateesh [Tue, 1 Apr 2014 09:23:38 +0000 (14:53 +0530)]
Formatting fixes

Remove leading whitespaces in some of the lists, that was resulting in a vertical bar in the rendered README.rst file.

11 years agoMerge pull request #264 from lechat/job_improvements
Aleksey Maksimov [Mon, 31 Mar 2014 14:49:33 +0000 (22:49 +0800)]
Merge pull request #264 from lechat/job_improvements

Job improvements

11 years agoSmall changes in jobs classes
Aleksey Maksimov [Mon, 31 Mar 2014 14:34:00 +0000 (22:34 +0800)]
Small changes in jobs classes

11 years agoMerge branch 'master' of github.com:salimfadhley/jenkinsapi
Aleksey Maksimov [Sun, 30 Mar 2014 08:52:36 +0000 (16:52 +0800)]
Merge branch 'master' of github.com:salimfadhley/jenkinsapi

11 years agoSimplified get_job_url function
Aleksey Maksimov [Sat, 29 Mar 2014 17:07:25 +0000 (01:07 +0800)]
Simplified get_job_url function

11 years agoFixed pylint violations
Aleksey Maksimov [Sat, 29 Mar 2014 16:51:12 +0000 (00:51 +0800)]
Fixed pylint violations

11 years agoAdapt fingerprint to catch HTTPError from requests
Sateesh Kumar [Fri, 21 Mar 2014 17:27:33 +0000 (22:57 +0530)]
Adapt fingerprint to catch HTTPError from requests

Remove reference to urllib2 exceptions as the HTTP fetches
uses 'requests' module

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

11 years agoAdd support to create Jenkins object without immediately polling jobs.
Joao Vale [Wed, 12 Mar 2014 17:39:41 +0000 (17:39 +0000)]
Add support to create Jenkins object without immediately polling jobs.

11 years agoMerge pull request #252 from jpiron/develop
Aleksey Maksimov [Sat, 29 Mar 2014 17:19:13 +0000 (01:19 +0800)]
Merge pull request #252 from jpiron/develop

polling jenkins each time Jobs is initialized

11 years agoMerge pull request #260 from sateeshkumarb/patch-1
Aleksey Maksimov [Sat, 29 Mar 2014 17:17:36 +0000 (01:17 +0800)]
Merge pull request #260 from sateeshkumarb/patch-1

Add a few Jenkins API usage examples

11 years agoMerge pull request #262 from lechat/master
Aleksey Maksimov [Sat, 29 Mar 2014 17:16:13 +0000 (01:16 +0800)]
Merge pull request #262 from lechat/master

Simplified view.get_job_url function

11 years agoSimplified get_job_url function
Aleksey Maksimov [Sat, 29 Mar 2014 17:07:25 +0000 (01:07 +0800)]
Simplified get_job_url function

11 years agoMerge pull request #261 from lechat/master
Aleksey Maksimov [Sat, 29 Mar 2014 17:01:23 +0000 (01:01 +0800)]
Merge pull request #261 from lechat/master

Fixed pylint violations

11 years agoFixed pylint violations
Aleksey Maksimov [Sat, 29 Mar 2014 16:51:12 +0000 (00:51 +0800)]
Fixed pylint violations

11 years agoAdd a few Jenkins API usage examples
Sateesh [Sat, 29 Mar 2014 15:01:34 +0000 (20:31 +0530)]
Add a few Jenkins API usage examples

Add following examples showing usage of Jenkins API:
* Get Jenkins version, Get Job details, Enable/disable a job

11 years agoMerge pull request #257 from sateeshkumarb/master
Aleksey Maksimov [Fri, 28 Mar 2014 07:34:43 +0000 (15:34 +0800)]
Merge pull request #257 from sateeshkumarb/master

Adapt fingerprint to catch HTTPError from requests

11 years agoAdapt fingerprint to catch HTTPError from requests
Sateesh Kumar [Fri, 21 Mar 2014 17:27:33 +0000 (22:57 +0530)]
Adapt fingerprint to catch HTTPError from requests

Remove reference to urllib2 exceptions as the HTTP fetches
uses 'requests' module

11 years agoMerge pull request #256 from sateeshkumarb/master
Aleksey Maksimov [Fri, 21 Mar 2014 12:47:04 +0000 (20:47 +0800)]
Merge pull request #256 from sateeshkumarb/master

minor fix to exception messages to improve readability.

11 years agoMerge remote-tracking branch 'upstream/master'
Sateesh Kumar [Thu, 20 Mar 2014 17:42:07 +0000 (23:12 +0530)]
Merge remote-tracking branch 'upstream/master'

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

11 years agoMerge pull request #254 from jvale/lazy_load_jobs
Aleksey Maksimov [Thu, 20 Mar 2014 13:58:24 +0000 (21:58 +0800)]
Merge pull request #254 from jvale/lazy_load_jobs

Add support to create Jenkins object without immediately polling jobs.

11 years agoAdd support to create Jenkins object without immediately polling jobs.
Joao Vale [Wed, 12 Mar 2014 17:39:41 +0000 (17:39 +0000)]
Add support to create Jenkins object without immediately polling jobs.

11 years agopolling jenkins each time Jobs is initialized
jpiron [Thu, 13 Mar 2014 17:11:00 +0000 (18:11 +0100)]
polling jenkins each time Jobs is initialized

11 years agoAdded conversions from bytes to strings
Aleksey Maksimov [Sun, 2 Mar 2014 10:06:00 +0000 (18:06 +0800)]
Added conversions from bytes to strings

11 years agoChanged Jenkins URL to download LTS version
Aleksey Maksimov [Sun, 23 Feb 2014 12:01:50 +0000 (20:01 +0800)]
Changed Jenkins URL to download LTS version

Bleeding edge version may not be stable.

11 years agoMerge pull request #248 from Toumaz/master
Aleksey Maksimov [Sun, 23 Feb 2014 14:25:46 +0000 (22:25 +0800)]
Merge pull request #248 from Toumaz/master

resolve_job_folders skipping jobs fix

11 years agoadd unit test for multiple top level folders
Tomas Olander [Sun, 23 Feb 2014 13:50:23 +0000 (14:50 +0100)]
add unit test for multiple top level folders

11 years agoChanged Jenkins URL to download LTS version
Aleksey Maksimov [Sun, 23 Feb 2014 12:01:50 +0000 (20:01 +0800)]
Changed Jenkins URL to download LTS version

Bleeding edge version may not be stable.

11 years agoresolve_job_folders skipping jobs fix
Tomas Olander [Sun, 23 Feb 2014 11:34:37 +0000 (12:34 +0100)]
resolve_job_folders skipping jobs fix

JenkinsBase.resolve_job_folders removed jobs from the list while
iterating, causing jobs to be skipped over whenever a job folder was
encountered.

11 years agoMerge pull request #247 from lhupfeldt/python3_experimental
Aleksey Maksimov [Fri, 21 Feb 2014 15:51:23 +0000 (23:51 +0800)]
Merge pull request #247 from lhupfeldt/python3_experimental

Python3 experimental. With failing tests as it is work in progress.

11 years agoiteritems -> items
Lars Hupfeldt [Thu, 13 Feb 2014 20:38:48 +0000 (21:38 +0100)]
iteritems -> items
Queue -> queue

11 years agobasestring, unicode, str compatibility
Lars Hupfeldt [Thu, 13 Feb 2014 19:45:19 +0000 (20:45 +0100)]
basestring, unicode, str compatibility

11 years agoexception.message -> str(exception)
Lars Hupfeldt [Thu, 13 Feb 2014 19:28:09 +0000 (20:28 +0100)]
exception.message -> str(exception)

11 years agourllib compatibility
Lars Hupfeldt [Thu, 13 Feb 2014 19:24:20 +0000 (20:24 +0100)]
urllib compatibility

11 years agoUse print() (with 'from __future__ import print_function')
Lars Hupfeldt [Thu, 13 Feb 2014 17:47:10 +0000 (18:47 +0100)]
Use print() (with 'from __future__ import print_function')

11 years agoFix wrong translation of 'except' from python2 to pytho3
Lars Hupfeldt [Thu, 13 Feb 2014 17:37:44 +0000 (18:37 +0100)]
Fix wrong translation of 'except' from python2 to pytho3

11 years agoTying to fix P3 incompatibility
Aleksey Maksimov [Thu, 13 Feb 2014 14:33:05 +0000 (22:33 +0800)]
Tying to fix P3 incompatibility

11 years agoAdded build for Python 2.6
Aleksey Maksimov [Thu, 13 Feb 2014 14:28:40 +0000 (22:28 +0800)]
Added build for Python 2.6

11 years agoAdded Python 3.3 to this branch build spec
Aleksey Maksimov [Thu, 13 Feb 2014 14:13:21 +0000 (22:13 +0800)]
Added Python 3.3 to this branch build spec

11 years agoAdded note about experimental nature of this branch
Aleksey Maksimov [Thu, 13 Feb 2014 14:02:34 +0000 (22:02 +0800)]
Added note about experimental nature of this branch