tools/python-jenkinsapi.git
11 years agoMake final return statement be useful
Lars Wirzenius [Thu, 2 Aug 2012 23:04:26 +0000 (00:04 +0100)]
Make final return statement be useful

The final return statement was not useful: it was dead code, and was never
executed, since both the try and except branches of the exception
handling were exiting the method before the final return statement
was reached.

Change the method to follow the structure of the get_data method,
by assigning the return value of urlopen into a variable, which the
final return statement then returns.

12 years agoMerge branch 'master' of https://github.com/salimfadhley/jenkinsapi
salimfadhley [Sat, 7 Jul 2012 22:53:37 +0000 (23:53 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi

12 years agoRevert "2to3 conversion, untested."
salimfadhley [Sat, 7 Jul 2012 22:52:49 +0000 (23:52 +0100)]
Revert "2to3 conversion, untested."

This reverts commit a564d931eef0087e38551f14cf672c874d66d009.

12 years agoMerge pull request #37 from victorgp/master
Salim Fadhley [Sat, 7 Jul 2012 22:14:06 +0000 (15:14 -0700)]
Merge pull request #37 from victorgp/master

Adding myself to the list of contributors

12 years agoadding myself to the list of contributors
Victor Garcia [Thu, 5 Jul 2012 10:38:01 +0000 (12:38 +0200)]
adding myself to the list of contributors

12 years ago2to3 conversion, untested.
salimfadhley [Wed, 4 Jul 2012 23:08:57 +0000 (00:08 +0100)]
2to3 conversion, untested.

12 years agoFix python grammar for 3 compatibility
salimfadhley [Wed, 4 Jul 2012 23:06:33 +0000 (00:06 +0100)]
Fix python grammar for 3 compatibility

12 years agoMerge pull request #36 from victorgp/master
Salim Fadhley [Wed, 4 Jul 2012 22:37:30 +0000 (15:37 -0700)]
Merge pull request #36 from victorgp/master

A build should have resultset even though having a status failure

12 years agoAdd license doc
salimfadhley [Wed, 4 Jul 2012 22:35:44 +0000 (23:35 +0100)]
Add license doc

12 years agoAdd MIT license.
salimfadhley [Wed, 4 Jul 2012 22:35:28 +0000 (23:35 +0100)]
Add MIT license.

12 years agoa build should have resultset even though having a status failure
Victor Garcia [Wed, 4 Jul 2012 17:26:56 +0000 (19:26 +0200)]
a build should have resultset even though having a status failure

12 years agoMerge branch 'master' of https://salimfadhley@github.com/salimfadhley/jenkinsapi.git
salimfadhley [Sun, 1 Jul 2012 14:02:03 +0000 (15:02 +0100)]
Merge branch 'master' of https://salimfadhley@github.com/salimfadhley/jenkinsapi.git

12 years agoMerge pull request #35 from victorgp/master
Salim Fadhley [Tue, 26 Jun 2012 21:30:42 +0000 (14:30 -0700)]
Merge pull request #35 from victorgp/master

Adding support to get downstream jobs and builds and improving performance

12 years agoimproving performance in the get_job() method
Victor Garcia [Tue, 26 Jun 2012 14:01:33 +0000 (16:01 +0200)]
improving performance in the get_job() method

12 years agoadding support to get downstream builds and jobs
Victor Garcia [Tue, 26 Jun 2012 12:42:37 +0000 (14:42 +0200)]
adding support to get downstream builds and jobs

12 years agoMerge pull request #33 from jollychang/master
Salim Fadhley [Tue, 19 Jun 2012 23:46:29 +0000 (16:46 -0700)]
Merge pull request #33 from jollychang/master

get_revision() supports git and hg

12 years agoMerge pull request #7 from anrs/master
William Zhang [Tue, 19 Jun 2012 09:21:55 +0000 (02:21 -0700)]
Merge pull request #7 from anrs/master

get revision from build should be successful always

12 years agoget rev by build
Anrs Hu [Tue, 19 Jun 2012 09:18:09 +0000 (17:18 +0800)]
get rev by build

12 years agofix create my view
William Zhang [Thu, 7 Jun 2012 08:34:59 +0000 (16:34 +0800)]
fix create my view

12 years agoMerge pull request #6 from anrs/master
William Zhang [Tue, 5 Jun 2012 06:19:55 +0000 (23:19 -0700)]
Merge pull request #6 from anrs/master

missing a comma

12 years agotypo
Anrs Hu [Tue, 5 Jun 2012 06:17:19 +0000 (14:17 +0800)]
typo

12 years agoMerge pull request #5 from anrs/master
William Zhang [Tue, 5 Jun 2012 02:00:27 +0000 (19:00 -0700)]
Merge pull request #5 from anrs/master

Job.get_buildnumber_for_revision() to support git/hg

12 years agoget_buildnumber_for_revision() to support git/hg
Anrs Hu [Tue, 5 Jun 2012 01:58:22 +0000 (09:58 +0800)]
get_buildnumber_for_revision() to support git/hg

12 years agoMerge pull request #4 from anrs/master
William Zhang [Tue, 5 Jun 2012 01:38:28 +0000 (18:38 -0700)]
Merge pull request #4 from anrs/master

Build.get_revision() to support git/hg

12 years agoVersion bump.
salimfadhley [Mon, 4 Jun 2012 20:35:26 +0000 (21:35 +0100)]
Version bump.

12 years agoMerge pull request #32 from jollychang/master
Salim Fadhley [Mon, 4 Jun 2012 13:47:14 +0000 (06:47 -0700)]
Merge pull request #32 from jollychang/master

fix copy job, delete_job and delete_view_by_url

12 years agogit_revision() supports git and hg
Anrs Hu [Mon, 4 Jun 2012 10:43:01 +0000 (18:43 +0800)]
git_revision() supports git and hg

12 years agoadd original init arguments
William Zhang [Mon, 4 Jun 2012 03:46:08 +0000 (11:46 +0800)]
add original init arguments

12 years agoMerge pull request #3 from anrs/master
William Zhang [Mon, 4 Jun 2012 03:42:39 +0000 (20:42 -0700)]
Merge pull request #3 from anrs/master

fix: copy_obj() shouldn't ignore original init arguments

12 years agofix: copy_job() missing arguments
Anrs Hu [Mon, 4 Jun 2012 03:13:27 +0000 (11:13 +0800)]
fix: copy_job() missing arguments

12 years agofix typo
William Zhang [Sat, 2 Jun 2012 09:54:56 +0000 (17:54 +0800)]
fix typo

12 years agoDoc version bump.
salimfadhley [Thu, 31 May 2012 19:42:09 +0000 (20:42 +0100)]
Doc version bump.

12 years agoVersion bump.
salimfadhley [Thu, 31 May 2012 19:39:55 +0000 (20:39 +0100)]
Version bump.

12 years agoMerge pull request #31 from jollychang/master
Salim Fadhley [Thu, 31 May 2012 10:42:05 +0000 (03:42 -0700)]
Merge pull request #31 from jollychang/master

fix post data

12 years agojoin url by urlparse.urljoin(
William Zhang [Thu, 31 May 2012 08:52:38 +0000 (16:52 +0800)]
join url by urlparse.urljoin(

12 years agoMerge pull request #2 from anrs/master
William Zhang [Thu, 31 May 2012 07:08:34 +0000 (00:08 -0700)]
Merge pull request #2 from anrs/master

fix: post data by form

12 years agopost should be get_opener() first
Anrs Hu [Thu, 31 May 2012 07:04:26 +0000 (15:04 +0800)]
post should be get_opener() first

12 years agoMerge pull request #1 from anrs/master
William Zhang [Thu, 31 May 2012 06:21:33 +0000 (23:21 -0700)]
Merge pull request #1 from anrs/master

form login

12 years agoclean codes
Anrs Hu [Thu, 31 May 2012 06:17:46 +0000 (14:17 +0800)]
clean codes

12 years agoform login
Anrs Hu [Thu, 31 May 2012 06:11:05 +0000 (14:11 +0800)]
form login

12 years agoMany changes to aid doc-building & release process.
salimfadhley [Wed, 30 May 2012 23:47:49 +0000 (00:47 +0100)]
Many changes to aid doc-building & release process.

12 years agoMerge pull request #30 from victorgp/master
Salim Fadhley [Wed, 30 May 2012 21:07:54 +0000 (14:07 -0700)]
Merge pull request #30 from victorgp/master

Adding support to get upstream jobs and builds

12 years agofixing some indentation issues
Victor Garcia [Wed, 30 May 2012 17:37:40 +0000 (19:37 +0200)]
fixing some indentation issues

12 years agoadding support to get upstream jobs and builds (direct upstream jobs or master jobs)
Victor Garcia [Wed, 30 May 2012 17:20:13 +0000 (19:20 +0200)]
adding support to get upstream jobs and builds (direct upstream jobs or master jobs)

12 years agoMerge pull request #28 from jollychang/master
Salim Fadhley [Wed, 30 May 2012 15:41:45 +0000 (08:41 -0700)]
Merge pull request #28 from jollychang/master

create view and add job to view

12 years agoMerge pull request #29 from simplylizzz/master
Salim Fadhley [Wed, 30 May 2012 13:43:05 +0000 (06:43 -0700)]
Merge pull request #29 from simplylizzz/master

fix for Job.is_running method

12 years agofixed error in Job.is_running in case when there is no any builds of this job
Anton V. Yanchenko [Wed, 30 May 2012 12:06:50 +0000 (16:06 +0400)]
fixed error in Job.is_running in case when there is no any builds of this job

12 years agosupport for create my view
William Zhang [Wed, 30 May 2012 10:26:08 +0000 (18:26 +0800)]
support for create my view

12 years agofix for include jobs
William Zhang [Wed, 30 May 2012 09:58:19 +0000 (17:58 +0800)]
fix for include jobs

12 years agomove add job to view from jenkins.py to view.py for nest view
William Zhang [Wed, 30 May 2012 08:40:49 +0000 (16:40 +0800)]
move add job to view from jenkins.py to view.py for nest view

fix get_view_by_url and get_view init url

12 years agoignore *.Ds_Store
William Zhang [Wed, 30 May 2012 08:30:26 +0000 (16:30 +0800)]
ignore *.Ds_Store

12 years agoadd get_jobs_list,has_job, add_job_to_view
William Zhang [Mon, 28 May 2012 10:43:00 +0000 (18:43 +0800)]
add get_jobs_list,has_job, add_job_to_view

12 years agoadd docstring and comment for viewExistsCheck message
William Zhang [Mon, 28 May 2012 08:43:21 +0000 (16:43 +0800)]
add docstring and comment for viewExistsCheck message

12 years agoadd create view
William Zhang [Mon, 28 May 2012 08:34:54 +0000 (16:34 +0800)]
add create view

12 years agoMerge branch 'master' of github.com:jollychang/jenkinsapi
William Zhang [Wed, 23 May 2012 01:53:25 +0000 (09:53 +0800)]
Merge branch 'master' of github.com:jollychang/jenkinsapi

12 years agoadd myself to the list of contributors :)
William Zhang [Wed, 23 May 2012 01:51:24 +0000 (09:51 +0800)]
add myself to the list of contributors :)

12 years agoMerge pull request #27 from jollychang/master
Salim Fadhley [Tue, 22 May 2012 10:47:22 +0000 (03:47 -0700)]
Merge pull request #27 from jollychang/master

new instance for delete job, and add get/del view_by_url api

12 years agoadd delete_view_by_url
William Zhang [Thu, 17 May 2012 05:59:34 +0000 (13:59 +0800)]
add delete_view_by_url

12 years agoadd get_view_by_url for myview or Nested View,what ever
William Zhang [Thu, 17 May 2012 03:23:41 +0000 (11:23 +0800)]
add get_view_by_url for myview or Nested View,what ever

12 years agoafter delete job renew obj
William Zhang [Tue, 15 May 2012 07:24:29 +0000 (15:24 +0800)]
after delete job renew obj

12 years agoMerge pull request #26 from jollychang/master
Salim Fadhley [Fri, 11 May 2012 09:58:51 +0000 (02:58 -0700)]
Merge pull request #26 from jollychang/master

copy job and delete job

12 years agocopy job return job obj
William Zhang [Fri, 11 May 2012 08:10:10 +0000 (16:10 +0800)]
copy job return job obj

12 years agocopy/delete job
William Zhang [Fri, 11 May 2012 06:35:10 +0000 (14:35 +0800)]
copy/delete job

12 years agoadd raise
William Zhang [Fri, 11 May 2012 06:34:31 +0000 (14:34 +0800)]
add raise

12 years agoadd try expect
William Zhang [Fri, 11 May 2012 03:46:52 +0000 (11:46 +0800)]
add try expect

12 years agoMerge pull request #25 from jollychang/master
Salim Fadhley [Wed, 9 May 2012 08:19:35 +0000 (01:19 -0700)]
Merge pull request #25 from jollychang/master

for update job config

12 years agochange a var
William Zhang [Wed, 9 May 2012 02:36:41 +0000 (10:36 +0800)]
change a var

12 years agoadd update_config and post_data
William Zhang [Wed, 9 May 2012 02:28:56 +0000 (10:28 +0800)]
add update_config and post_data

12 years agoMerge pull request #24 from EwoutVDC/master
Salim Fadhley [Tue, 8 May 2012 08:32:18 +0000 (01:32 -0700)]
Merge pull request #24 from EwoutVDC/master

import error in build.block_until_complete

12 years agobuild.invoke with block=True: don't assert build succes, but build completion
Bioske [Mon, 7 May 2012 11:52:57 +0000 (14:52 +0300)]
build.invoke with block=True: don't assert build succes, but build completion

12 years agofix import issue in build.block_until_complete()
Bioske [Mon, 7 May 2012 11:25:12 +0000 (14:25 +0300)]
fix import issue in build.block_until_complete()

12 years agoMerge pull request #22 from hoot80/master
Salim Fadhley [Mon, 23 Apr 2012 23:24:36 +0000 (16:24 -0700)]
Merge pull request #22 from hoot80/master

small issue with time import

12 years agosmall issue with time import
Matt Hootman [Wed, 18 Apr 2012 17:30:52 +0000 (12:30 -0500)]
small issue with time import

12 years agoMerge pull request #14 from lruslan/master
Salim Fadhley [Fri, 9 Mar 2012 15:21:12 +0000 (07:21 -0800)]
Merge pull request #14 from lruslan/master

FIX: TypeError: 'NoneType' object is unsubscriptable in job._buildid_for_type

12 years agoFIX: TypeError: 'NoneType' object is unsubscriptable when _data[buildtype] == None
Ruslan Lutsenko [Thu, 8 Mar 2012 09:44:57 +0000 (10:44 +0100)]
FIX: TypeError: 'NoneType' object is unsubscriptable when _data[buildtype] == None

12 years agoCorrect IOError on install.
Salim Fadhley [Tue, 6 Mar 2012 23:57:50 +0000 (23:57 +0000)]
Correct IOError on install.

12 years agoVersion bump
Salim Fadhley [Mon, 5 Mar 2012 22:04:04 +0000 (22:04 +0000)]
Version bump

12 years agoMerge pull request #10 from cleberjsantos/master
Salim Fadhley [Sun, 4 Mar 2012 08:49:54 +0000 (00:49 -0800)]
Merge pull request #10 from cleberjsantos/master

Fix reStructuredText syntax

12 years agoFix pep8 and open file description
Cleber J Santos [Sat, 3 Mar 2012 13:48:38 +0000 (10:48 -0300)]
Fix pep8 and open file description

12 years agoFix Credits and Project Authors
Cleber J Santos [Sat, 3 Mar 2012 13:34:54 +0000 (10:34 -0300)]
Fix Credits and Project Authors

12 years agoAdded Credits
Cleber J Santos [Sat, 3 Mar 2012 13:31:29 +0000 (10:31 -0300)]
Added Credits

12 years agoFix reStructuredText syntax
Cleber J Santos [Sat, 3 Mar 2012 13:29:12 +0000 (10:29 -0300)]
Fix reStructuredText syntax

12 years agoFix reStructuredText syntax
Cleber J Santos [Sat, 3 Mar 2012 13:27:52 +0000 (10:27 -0300)]
Fix reStructuredText syntax

12 years agoMerge pull request #9 from cleberjsantos/master
Salim Fadhley [Fri, 2 Mar 2012 19:00:06 +0000 (11:00 -0800)]
Merge pull request #9 from cleberjsantos/master

command_line package

12 years agoAdded a required dependency
Cleber J Santos [Fri, 2 Mar 2012 18:05:26 +0000 (15:05 -0300)]
Added a required dependency

12 years agoMerge branch 'master' of https://salimfadhley@github.com/salimfadhley/jenkinsapi.git
Salim Fadhley [Mon, 27 Feb 2012 21:01:49 +0000 (21:01 +0000)]
Merge branch 'master' of https://salimfadhley@github.com/salimfadhley/jenkinsapi.git

12 years agoVersion bump.
Salim Fadhley [Mon, 27 Feb 2012 20:33:55 +0000 (20:33 +0000)]
Version bump.

12 years agoLars Nordin's correction intended to cope with node-names which contain
Salim Fadhley [Mon, 27 Feb 2012 20:33:37 +0000 (20:33 +0000)]
Lars Nordin's correction intended to cope with node-names which contain
characters requiring HTTP escaping. Thanks for the fix Lars!

12 years agoMerge pull request #7 from kavehv/master
Salim Fadhley [Sat, 25 Feb 2012 23:57:09 +0000 (15:57 -0800)]
Merge pull request #7 from kavehv/master

Fix get_revision for multiple repo

12 years agoUpdate jenkinsapi/build.py
kavehv [Sat, 25 Feb 2012 00:02:21 +0000 (16:02 -0800)]
Update jenkinsapi/build.py

12 years agoVersion bump. Ramon has kindly fixed my sdist import error.
Salim Fadhley [Wed, 15 Feb 2012 00:26:15 +0000 (00:26 +0000)]
Version bump. Ramon has kindly fixed my sdist import error.

12 years agoMerge pull request #5 from ramonvanalteren/master
Salim Fadhley [Wed, 15 Feb 2012 00:25:12 +0000 (16:25 -0800)]
Merge pull request #5 from ramonvanalteren/master

as requested

12 years agoMerge remote-tracking branch 'salim/master'
Ramon van Alteren [Tue, 14 Feb 2012 23:53:51 +0000 (00:53 +0100)]
Merge remote-tracking branch 'salim/master'

* salim/master:
  Add build dir to .gitignore
  Yet more corrections required for the 0.1.1 release, including some typos in the doc-building ANT script and the main setup script. Also added an ANT script which automates much of the release process.
  Some tweaks required for 1.0.1 release.

12 years agoFixed setup.py
Ramon van Alteren [Tue, 14 Feb 2012 23:10:06 +0000 (00:10 +0100)]
Fixed setup.py

The amount of data in setup_config doesn't really need an extra file and the hassle to get that in setup.py
Copied vars back to the setup.py file and deleted setup_config.py

12 years agoAdded timestamp method to build
Ramon van Alteren [Fri, 10 Feb 2012 09:00:24 +0000 (10:00 +0100)]
Added timestamp method to build

mcascallares requested a method to retrieve the timestamp on a build.
Added closing issue #4

12 years agoAdd build dir to .gitignore
Salim Fadhley [Thu, 9 Feb 2012 00:06:19 +0000 (00:06 +0000)]
Add build dir to .gitignore

12 years agoYet more corrections required for the 0.1.1 release, including some
Salim Fadhley [Thu, 9 Feb 2012 00:00:29 +0000 (00:00 +0000)]
Yet more corrections required for the 0.1.1 release, including some
typos in the doc-building ANT script and the main setup script. Also
added an ANT script which automates much of the release process.

12 years agoSome tweaks required for 1.0.1 release.
Salim Fadhley [Wed, 8 Feb 2012 23:52:23 +0000 (23:52 +0000)]
Some tweaks required for 1.0.1 release.

12 years agoMerge pull request #3 from ramonvanalteren/master
Salim Fadhley [Wed, 8 Feb 2012 14:20:49 +0000 (06:20 -0800)]
Merge pull request #3 from ramonvanalteren/master

Please merge, point release 0.1.1 ?

12 years agomore whitespace fixup
Ramon van Alteren [Wed, 8 Feb 2012 14:19:05 +0000 (15:19 +0100)]
more whitespace fixup