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.
Salim Fadhley [Tue, 1 Oct 2013 22:54:20 +0000 (15:54 -0700)]
Merge pull request #172 from kworr/patch-1
fix exceptions inheritance
kworr [Tue, 1 Oct 2013 13:37:49 +0000 (16:37 +0300)]
fix exceptions inheritance
Traceback (most recent call last):
File "./jenkins.py", line 12, in <module>
print(jenkins[jobName].get_scm_type())
File "build/bdist.freebsd-9.2-STABLE-amd64/egg/jenkinsapi/job.py", line 324, in get_scm_type
NameError: global name 'exceptions' is not defined
salimfadhley [Fri, 27 Sep 2013 22:48:29 +0000 (23:48 +0100)]
add license to setup file
salimfadhley [Fri, 27 Sep 2013 21:32:58 +0000 (22:32 +0100)]
version bump
Salim Fadhley [Fri, 27 Sep 2013 21:03:15 +0000 (14:03 -0700)]
Merge pull request #167 from victorgp/master
Fixing queue url generation, fixing get_build_dict and updating tests
Salim Fadhley [Fri, 27 Sep 2013 20:58:36 +0000 (13:58 -0700)]
Merge pull request #170 from rocktavious/master
README work
Kyle [Fri, 27 Sep 2013 14:36:20 +0000 (09:36 -0500)]
README work
Adding nice badges to the readme that will show up on github and pypi. Cleaned up some of the code blocks to format better. Added myself as a contributor because i love this package and want to help it!
Victor García [Thu, 12 Sep 2013 17:17:16 +0000 (19:17 +0200)]
changing test to check the fix
Victor García [Thu, 12 Sep 2013 17:09:37 +0000 (19:09 +0200)]
updating and fixing tests
Victor García [Thu, 12 Sep 2013 16:35:43 +0000 (18:35 +0200)]
fixing queue url format, the api/python part was duplicated
Victor García [Thu, 12 Sep 2013 16:35:01 +0000 (18:35 +0200)]
fixing get_last_build when the build is running and fixing is_running method as well
Victor García [Thu, 12 Sep 2013 16:34:00 +0000 (18:34 +0200)]
updating with original repo
Aleksey Maksimov [Sun, 8 Sep 2013 08:41:42 +0000 (01:41 -0700)]
Merge pull request #163 from TageNielsen/master
Pip 1.4+ compatibility with pytz
Tage Nielsen [Sat, 7 Sep 2013 21:26:03 +0000 (14:26 -0700)]
Pip 1.4+ compatibility with pytz
Aleksey Maksimov [Sat, 31 Aug 2013 09:14:26 +0000 (02:14 -0700)]
Merge pull request #162 from kbriggs/topic-matrix-runs
Add method to get sub-builds for a matrix job
Kieron Briggs [Fri, 30 Aug 2013 03:51:36 +0000 (13:51 +1000)]
Add Build.get_matrix_runs()
Add a method to get the individual sub-builds for a matrix build.
Kieron Briggs [Fri, 30 Aug 2013 00:46:46 +0000 (10:46 +1000)]
Make test_jenkins_artifacts more forgiving
On some systems, 127.0.0.1 reverse-resolves to an actual hostname, and
not to 'localhost'. Hence, match the output by the IP address instead.
salimfadhley [Thu, 22 Aug 2013 23:44:21 +0000 (00:44 +0100)]
Version bump
Aleksey Maksimov [Sun, 18 Aug 2013 15:30:27 +0000 (08:30 -0700)]
Merge pull request #161 from lechat/block_fix
Fixed get_build_number() in invocation as reported in issue #158
Aleksey Maksimov [Sun, 18 Aug 2013 15:21:08 +0000 (23:21 +0800)]
Fixed last build number in invocation
Aleksey Maksimov [Fri, 16 Aug 2013 02:40:02 +0000 (10:40 +0800)]
Merge pull request #154 from pkocandr/unstable-sslnoverify
Aleksey Maksimov [Fri, 16 Aug 2013 02:32:02 +0000 (19:32 -0700)]
Merge pull request #154 from pkocandr/unstable-sslnoverify
Allow no verification of server certificate when using https
Aleksey Maksimov [Sun, 4 Aug 2013 16:10:46 +0000 (09:10 -0700)]
Merge pull request #159 from lechat/invoke_fix
Fixed problem with get_build_number (Issue #158)
Aleksey Maksimov [Sun, 4 Aug 2013 16:00:50 +0000 (00:00 +0800)]
Fixed problem with get_build_number (Issue #158)
Aleksey Maksimov [Sun, 4 Aug 2013 15:59:55 +0000 (23:59 +0800)]
Removed debug printout
Aleksey Maksimov [Sun, 28 Jul 2013 07:35:21 +0000 (15:35 +0800)]
Merge branch 'master' of github.com:lechat/jenkinsapi
Petr Kocandrle [Fri, 26 Jul 2013 11:01:37 +0000 (13:01 +0200)]
Allow no verification of server certificate when using https
Aleksey Maksimov [Wed, 24 Jul 2013 17:47:09 +0000 (10:47 -0700)]
Merge pull request #151 from lechat/plugins
Added ability to query for installed plugins
Aleksey Maksimov [Wed, 24 Jul 2013 16:19:15 +0000 (00:19 +0800)]
Added ability to query for installed plugins
salimfadhley [Thu, 18 Jul 2013 22:51:34 +0000 (23:51 +0100)]
Version bump
salimfadhley [Thu, 18 Jul 2013 22:43:49 +0000 (23:43 +0100)]
This whole file is disabled for now.
salimfadhley [Thu, 18 Jul 2013 22:26:48 +0000 (23:26 +0100)]
fix for queue delete issue
Aleksey Maksimov [Fri, 12 Jul 2013 07:14:58 +0000 (15:14 +0800)]
More files to ignore
Aleksey Maksimov [Wed, 10 Jul 2013 16:30:45 +0000 (09:30 -0700)]
Merge pull request #147 from lechat/pythonic_views
Changed views() to property views
Aleksey Maksimov [Wed, 10 Jul 2013 16:10:32 +0000 (00:10 +0800)]
Chnged views() to views in tests and examples
lechat [Wed, 10 Jul 2013 15:18:27 +0000 (23:18 +0800)]
Made views() a property, added safety in case view doesn't have subviews
lechat [Tue, 9 Jul 2013 17:13:06 +0000 (01:13 +0800)]
Added nested-view plugin and systest for it
Plus added __contains__ for View
salimfadhley [Tue, 9 Jul 2013 22:48:28 +0000 (23:48 +0100)]
Version bump
lechat [Tue, 9 Jul 2013 17:12:30 +0000 (01:12 +0800)]
Added another way of adding a view and example for it
lechat [Tue, 9 Jul 2013 17:12:00 +0000 (01:12 +0800)]
Added job removal example
lechat [Tue, 9 Jul 2013 17:11:39 +0000 (01:11 +0800)]
Moved addjob.xml to make examples working
Aleksey Maksimov [Tue, 9 Jul 2013 16:07:01 +0000 (09:07 -0700)]
Merge pull request #145 from lechat/examples
Added example for creating nested view
lechat [Tue, 9 Jul 2013 16:03:43 +0000 (00:03 +0800)]
Added example for creating nested view
Aleksey Maksimov [Tue, 9 Jul 2013 16:00:57 +0000 (09:00 -0700)]
Merge pull request #144 from lechat/view_fix
Fix to get view.views() actually working
lechat [Tue, 9 Jul 2013 15:50:39 +0000 (23:50 +0800)]
Fix to get view.views() actually working
Aleksey Maksimov [Tue, 9 Jul 2013 15:15:34 +0000 (08:15 -0700)]
Merge pull request #143 from lechat/views_fix
Views fix
lechat [Tue, 9 Jul 2013 13:50:43 +0000 (21:50 +0800)]
Fixed tests, reformatted View with PEP8, added more tests
Aleksey Maksimov [Tue, 2 Jul 2013 10:16:18 +0000 (18:16 +0800)]
Added ability to create nested views
Aleksey Maksimov [Tue, 2 Jul 2013 10:15:40 +0000 (18:15 +0800)]
Added view.views() method to get nested Views object
Aleksey Maksimov [Tue, 2 Jul 2013 10:14:38 +0000 (18:14 +0800)]
Added code to debug HTTP requests (commented)
Aleksey Maksimov [Fri, 28 Jun 2013 05:51:17 +0000 (13:51 +0800)]
Convert config to str if it is unicode
salimfadhley [Fri, 5 Jul 2013 23:44:45 +0000 (00:44 +0100)]
tweak to one unit test
salimfadhley [Fri, 5 Jul 2013 23:08:20 +0000 (00:08 +0100)]
version bump
salimfadhley [Fri, 5 Jul 2013 23:07:57 +0000 (00:07 +0100)]
Merge branch 'unstable'
salimfadhley [Fri, 5 Jul 2013 23:07:03 +0000 (00:07 +0100)]
Fix for issue #142 copy_job return value changed from destination job to source job
salimfadhley [Fri, 5 Jul 2013 00:04:35 +0000 (01:04 +0100)]
build objects now have a get_console function
salimfadhley [Mon, 1 Jul 2013 23:55:26 +0000 (00:55 +0100)]
Merge branch 'unstable'
salimfadhley [Mon, 1 Jul 2013 23:53:32 +0000 (00:53 +0100)]
Add an extra test to verify multiple invocation behavior.
Salim Fadhley [Sun, 30 Jun 2013 01:19:49 +0000 (02:19 +0100)]
Version bump
Salim Fadhley [Sun, 30 Jun 2013 01:12:53 +0000 (02:12 +0100)]
handle missing build objects slightly better
Salim Fadhley [Sun, 30 Jun 2013 01:04:18 +0000 (02:04 +0100)]
Merge branch 'unstable'
Salim Fadhley [Sun, 30 Jun 2013 01:03:44 +0000 (02:03 +0100)]
moved the scm test out of systests into unittests
Salim Fadhley [Sun, 30 Jun 2013 00:41:48 +0000 (01:41 +0100)]
This test is disabled,it does not actually test all that much about the API, it would be better done as a unittest.
Salim Fadhley [Sun, 30 Jun 2013 00:01:35 +0000 (01:01 +0100)]
support for binary artifacts
Salim Fadhley [Sat, 29 Jun 2013 23:49:49 +0000 (00:49 +0100)]
remove unused import
Salim Fadhley [Sat, 29 Jun 2013 23:39:02 +0000 (00:39 +0100)]
move the pinger job config into the config file
Salim Fadhley [Sat, 29 Jun 2013 23:24:32 +0000 (00:24 +0100)]
Merge branch 'unstable'
Salim Fadhley [Sat, 29 Jun 2013 23:17:40 +0000 (00:17 +0100)]
Make nosetests verbose
Salim Fadhley [Sat, 29 Jun 2013 23:12:51 +0000 (00:12 +0100)]
an attempt to force the launcher to wait until jenkins is actually launched
Salim Fadhley [Sat, 29 Jun 2013 22:41:48 +0000 (23:41 +0100)]
change cannot parse error
Salim Fadhley [Sat, 29 Jun 2013 22:26:22 +0000 (23:26 +0100)]
get rid of the ill-coinceived retry function
Salim Fadhley [Sat, 29 Jun 2013 22:26:02 +0000 (23:26 +0100)]
delete some krb stuff
salimfadhley [Thu, 27 Jun 2013 21:38:42 +0000 (22:38 +0100)]
Add a header
salimfadhley [Thu, 27 Jun 2013 21:29:44 +0000 (22:29 +0100)]
Added a script for all the jenkins activities.
salimfadhley [Thu, 27 Jun 2013 21:23:06 +0000 (22:23 +0100)]
Add a word from our sponsors
salimfadhley [Thu, 27 Jun 2013 21:19:54 +0000 (22:19 +0100)]
Merge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable
salimfadhley [Wed, 26 Jun 2013 22:44:10 +0000 (23:44 +0100)]
version bump
salimfadhley [Wed, 26 Jun 2013 22:40:49 +0000 (23:40 +0100)]
apply the requested patch to solve issue #20
Salim Fadhley [Wed, 26 Jun 2013 21:54:03 +0000 (14:54 -0700)]
Merge pull request #134 from sudharsh/unstable
Consolidated get_revision() and coverage fixes
Sudharshan S [Tue, 25 Jun 2013 20:38:25 +0000 (20:38 +0000)]
Use requests instead of urllib.urlretrieve for plugins
Sudharshan S [Tue, 25 Jun 2013 16:24:31 +0000 (21:54 +0530)]
Begin test cases for testing jenkins API calls related to the SCM
Use JenkinsLauncher.install_plugin to install Jenkins git plugins and verify coverage for Build.get_revision() fix
Sudharshan S [Tue, 25 Jun 2013 16:20:26 +0000 (21:50 +0530)]
jenkins_launcher can now install plugins
install_plugin takes in a URL or a list of URLs and restarts jenkins thereby installing the plugins
Sudharshan S [Tue, 25 Jun 2013 13:32:26 +0000 (19:02 +0530)]
Fix build.get_revision() for GIT repositories
Filter out actions which are None or not of interest and then extract the git revision from the lastBuiltRevision. Works in cases where branch is of something other than origin/HEAD
salimfadhley [Mon, 24 Jun 2013 23:46:40 +0000 (00:46 +0100)]
Version bump
salimfadhley [Mon, 24 Jun 2013 23:44:47 +0000 (00:44 +0100)]
some small fixes
salimfadhley [Mon, 24 Jun 2013 23:44:47 +0000 (00:44 +0100)]
some small fixes
salimfadhley [Mon, 24 Jun 2013 23:32:46 +0000 (00:32 +0100)]
Merge branch 'unstable'
salimfadhley [Mon, 24 Jun 2013 23:09:48 +0000 (00:09 +0100)]
inital somewhat working demo of invocations
salimfadhley [Mon, 24 Jun 2013 21:47:50 +0000 (22:47 +0100)]
Added a note to ask people not to email the developers for support
salimfadhley [Sun, 23 Jun 2013 23:55:56 +0000 (00:55 +0100)]
Bumped Alexey up the list!
salimfadhley [Sun, 23 Jun 2013 23:50:37 +0000 (00:50 +0100)]
Version bump
salimfadhley [Sun, 23 Jun 2013 23:49:50 +0000 (00:49 +0100)]
interim commit - pausing for the night
salimfadhley [Sun, 23 Jun 2013 21:53:13 +0000 (22:53 +0100)]
refactor continues on invocation;
Salim Fadhley [Sun, 23 Jun 2013 20:39:52 +0000 (21:39 +0100)]
Merge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable
Salim Fadhley [Sun, 23 Jun 2013 20:21:01 +0000 (21:21 +0100)]
more invocation stuff, temporary commit as I move to a new computer
Salim Fadhley [Sun, 23 Jun 2013 08:49:53 +0000 (09:49 +0100)]
add how to support us section.
Salim Fadhley [Sun, 23 Jun 2013 08:26:21 +0000 (09:26 +0100)]
pep8 format
Salim Fadhley [Sun, 23 Jun 2013 08:26:01 +0000 (09:26 +0100)]
Moved the empty job config into the config
salimfadhley [Sun, 23 Jun 2013 08:09:35 +0000 (09:09 +0100)]
stubbing out a new invocation test