salimfadhley [Wed, 12 Jun 2013 22:44:04 +0000 (23:44 +0100)]
setup.py
salimfadhley [Wed, 12 Jun 2013 22:36:15 +0000 (23:36 +0100)]
added support for travis-ci
salimfadhley [Wed, 12 Jun 2013 22:31:04 +0000 (23:31 +0100)]
fix some stuff I broke
salimfadhley [Wed, 12 Jun 2013 22:17:47 +0000 (23:17 +0100)]
run all the tests, not just unittests
salimfadhley [Wed, 12 Jun 2013 22:15:20 +0000 (23:15 +0100)]
build timestamps are now timezone aware. Added the pytz class as a dependancy.
salimfadhley [Wed, 12 Jun 2013 22:06:12 +0000 (23:06 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi
Salim Fadhley [Wed, 12 Jun 2013 22:06:02 +0000 (15:06 -0700)]
Merge pull request #99 from lechat/time_fix
Changed get_timestamp to return UTC time
salimfadhley [Wed, 12 Jun 2013 22:00:48 +0000 (23:00 +0100)]
get the parameterized build unit-test working again
salimfadhley [Wed, 12 Jun 2013 21:44:08 +0000 (22:44 +0100)]
fixes for parameterized builds and enabling/disabling
Salim Fadhley [Wed, 12 Jun 2013 17:09:19 +0000 (10:09 -0700)]
Merge pull request #100 from lechat/unit_tests
Fixed get_server_baseurl, simplified create_job.
Aleksey Maksimov [Wed, 12 Jun 2013 16:29:20 +0000 (00:29 +0800)]
Fixed get_server_baseurl, simplified create_job.
Added unit tests
Aleksey Maksimov [Wed, 12 Jun 2013 14:53:43 +0000 (22:53 +0800)]
Changed get_timestamp to return UTC time
salimfadhley [Wed, 12 Jun 2013 00:59:01 +0000 (01:59 +0100)]
a lower-level example of how parameterized builds work in Jenkins
salimfadhley [Tue, 11 Jun 2013 23:27:00 +0000 (00:27 +0100)]
move the post-logger out of tests, it's not really a test
salimfadhley [Tue, 11 Jun 2013 23:22:27 +0000 (00:22 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi
salimfadhley [Tue, 11 Jun 2013 23:22:09 +0000 (00:22 +0100)]
some refactoring of builds
Salim Fadhley [Tue, 11 Jun 2013 23:07:33 +0000 (16:07 -0700)]
Merge pull request #97 from rocktavious/master
I'm merging this one in, but please ensure that all future changes come with a unit-test that covers the changed code.
salimfadhley [Tue, 11 Jun 2013 22:21:17 +0000 (23:21 +0100)]
new config for circle CI support
Kyle [Tue, 11 Jun 2013 21:38:47 +0000 (16:38 -0500)]
Adding API Method - Build Job
Added a new method to the api for building a job with params
Job.py was modified to respond better to failures
build.py was modified to be in sync with the remove of .id() on almost
all classes
salimfadhley [Mon, 10 Jun 2013 23:54:44 +0000 (00:54 +0100)]
More small fixes to jobs, I've begun work on a test for artifacts however I know this class is very wrong atm.
salimfadhley [Mon, 10 Jun 2013 22:59:29 +0000 (23:59 +0100)]
fixes for getting job configs
salimfadhley [Mon, 10 Jun 2013 22:30:42 +0000 (23:30 +0100)]
fixes to job starting
salimfadhley [Mon, 10 Jun 2013 21:05:34 +0000 (22:05 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi
salimfadhley [Mon, 10 Jun 2013 21:05:31 +0000 (22:05 +0100)]
new stuff that I forgot to commit yesterday
Salim Fadhley [Mon, 10 Jun 2013 15:54:35 +0000 (08:54 -0700)]
Merge pull request #96 from lechat/unit_tests
Added tests for create_view and delete_view
Salim Fadhley [Mon, 10 Jun 2013 15:52:26 +0000 (08:52 -0700)]
Merge pull request #95 from lechat/view_fix
Fixed broken create_view and delete_view
Aleksey Maksimov [Mon, 10 Jun 2013 14:55:22 +0000 (22:55 +0800)]
Added tests for create_view and delete_view
Aleksey Maksimov [Mon, 10 Jun 2013 14:54:38 +0000 (22:54 +0800)]
Fixed broken create_view and delete_view
Salim Fadhley [Mon, 10 Jun 2013 09:41:16 +0000 (02:41 -0700)]
Merge pull request #92 from lechat/view_bug_fix
Fixed bug: view.add_job fails when job parameter contains Job object
Salim Fadhley [Mon, 10 Jun 2013 09:22:35 +0000 (02:22 -0700)]
Merge pull request #93 from lechat/patch-1
Fixed timestamp.
Aleksey Maksimov [Mon, 10 Jun 2013 09:00:39 +0000 (18:00 +0900)]
Fixed timestamp.
1370038540938 is 2013-05-31 22:15:40. So test fails on line 39.
Aleksey Maksimov [Mon, 10 Jun 2013 08:09:41 +0000 (17:09 +0900)]
Fixed bug: view.add_job fails when job parameter contains Job object
salimfadhley [Sun, 9 Jun 2013 23:36:10 +0000 (00:36 +0100)]
new nodes class + basic tests
salimfadhley [Wed, 5 Jun 2013 00:30:41 +0000 (01:30 +0100)]
Interim commit - I'm part way through refactoring all the networking stuff.
Posts are not yet working.
salimfadhley [Sun, 2 Jun 2013 22:56:32 +0000 (23:56 +0100)]
tweak the readme file
salimfadhley [Sun, 2 Jun 2013 22:53:07 +0000 (23:53 +0100)]
Add an example + updated installation syntax to the readme file.
salimfadhley [Sun, 2 Jun 2013 22:40:17 +0000 (23:40 +0100)]
Add a lot of helpful and useful stuff to the sublime config
salimfadhley [Sun, 2 Jun 2013 22:39:50 +0000 (23:39 +0100)]
Remove the id() method from most of the jenkinsapi classes
Salim Fadhley [Sun, 2 Jun 2013 00:36:04 +0000 (01:36 +0100)]
more doc tweaks
Salim Fadhley [Sun, 2 Jun 2013 00:12:59 +0000 (01:12 +0100)]
Added the sublime project file
Salim Fadhley [Sat, 1 Jun 2013 00:18:21 +0000 (01:18 +0100)]
Many fixes to document building - we now use the handy pypi doc upload script.
Salim Fadhley [Fri, 31 May 2013 23:11:33 +0000 (00:11 +0100)]
New datetime behavior for builds as requested.
Salim Fadhley [Fri, 31 May 2013 23:00:59 +0000 (00:00 +0100)]
Some small code tidy-ups, a version bump + correct the datetime behavior for build.get_timestamp()
Salim Fadhley [Fri, 31 May 2013 19:52:05 +0000 (12:52 -0700)]
Merge pull request #86 from lechat/views
Cleaned create_view, added delete_view
Aleksey Maksimov [Fri, 31 May 2013 06:49:45 +0000 (14:49 +0800)]
Reworked add_job
Added extra parameter to pass Job object.
Uses Job object internally.
Changed return values
Added documentation
Aleksey Maksimov [Wed, 29 May 2013 14:34:20 +0000 (22:34 +0800)]
Cleaned create_view, added delete_view
Salim Fadhley [Mon, 27 May 2013 08:32:21 +0000 (01:32 -0700)]
Merge pull request #85 from x746e/systests
Added system tests.
Kirill Spitsin [Mon, 27 May 2013 07:25:55 +0000 (10:25 +0300)]
Added system tests.
They also can be called acceptance or functional tests. I have always
found testing terminology somewhat entangled :)
These test are running against an instance of real jenkins, which is
launched in the beginning of the test suite and terminated in the end.
jenkins.war file is automatically downloaded in case it isn't already
present in jenkinsapi_tests/systests directory.
There are just few tests for now. This commit is more like a
demonstration of the concept.
Nose (pip install nose) is needed for running the tests. After
installing it tests can be run with 'nosetests' command from top-level
project directory.
Kirill Spitsin [Sun, 26 May 2013 20:14:58 +0000 (23:14 +0300)]
Added Jenkins.__contains__ method.
So now it's possible to use ```'jobname' in jenkins``` syntax instead of
```jenkins.has_job('jobname')```.
Salim Fadhley [Sun, 26 May 2013 16:44:39 +0000 (09:44 -0700)]
Merge pull request #84 from x746e/master
Changed View.add_job() to actually add job to the view, rather than replace all jobs in the view by that job.
Salim Fadhley [Sun, 26 May 2013 16:42:12 +0000 (09:42 -0700)]
Merge pull request #77 from vjuranek/api_nested_view
Add convenient method for obtaing nested view
Salim Fadhley [Sun, 26 May 2013 16:41:39 +0000 (09:41 -0700)]
Merge pull request #83 from Sicness/get_job_description
Added get_description function for jobs
Kirill Spitsin [Fri, 24 May 2013 14:51:07 +0000 (16:51 +0200)]
Changed View.add_job() to actually add job to the view, rather than replace all jobs in the view by that job.
Anton Balashov [Fri, 24 May 2013 14:29:33 +0000 (18:29 +0400)]
Added get_description function for jobs
Obvious function for getting description of job wasn't exist.
Salim Fadhley [Tue, 21 May 2013 10:11:10 +0000 (03:11 -0700)]
Merge pull request #79 from baijum/patch-1
update documentation link
Baiju Muthukadan [Tue, 21 May 2013 08:35:00 +0000 (14:05 +0530)]
update documentation link
Salim Fadhley [Mon, 20 May 2013 21:47:12 +0000 (14:47 -0700)]
Merge pull request #78 from vjuranek/nested_views
Add support for nested views
Vojtech Juranek [Mon, 20 May 2013 21:10:01 +0000 (23:10 +0200)]
Add convenient method for obtaing nested view
Vojtech Juranek [Mon, 20 May 2013 20:23:21 +0000 (22:23 +0200)]
Add support for nested views
Salim Fadhley [Mon, 6 May 2013 11:14:13 +0000 (04:14 -0700)]
Merge pull request #76 from baijum/master
Cause can be given to build with or without params
Baiju Muthukadan [Mon, 6 May 2013 09:42:04 +0000 (15:12 +0530)]
Cause can be given to build with or without params
salimfadhley [Sat, 4 May 2013 10:12:42 +0000 (11:12 +0100)]
Version bump.
Salim Fadhley [Fri, 3 May 2013 00:43:36 +0000 (17:43 -0700)]
Merge pull request #75 from vjuranek/fix_typo
Fix typo in variable name
Vojtech Juranek [Fri, 3 May 2013 00:17:10 +0000 (02:17 +0200)]
Fix typo in variable name
Salim Fadhley [Fri, 3 May 2013 00:05:37 +0000 (17:05 -0700)]
Merge pull request #74 from vjuranek/preferred_scheme
Use preferred URL scheme for jobs
Vojtech Juranek [Thu, 2 May 2013 23:49:30 +0000 (01:49 +0200)]
Use preferred URL scheme for jobs
Some Jenkins instances are configured to allow reading the data over HTTP scheme, while for manipulating with data (e.g. create or delete
job) HTTPS scheme is required. Allow user to specify preferred URL scheme (by specifying Jenkins URL) and use this scheme also
manipulations with jobs.
Salim Fadhley [Thu, 2 May 2013 16:16:56 +0000 (09:16 -0700)]
Merge pull request #73 from stephenminded/job_parameters
Add get_params and get_params_list to Job
Steve Lounsbury [Thu, 2 May 2013 15:56:06 +0000 (11:56 -0400)]
Add get_params and get_params_list to Job
Salim Fadhley [Thu, 2 May 2013 13:52:10 +0000 (06:52 -0700)]
Merge pull request #72 from vjuranek/krb_import
Add missing import
Vojtech Juranek [Thu, 2 May 2013 13:43:20 +0000 (15:43 +0200)]
Add missing import
Salim Fadhley [Thu, 4 Apr 2013 12:28:33 +0000 (05:28 -0700)]
Merge pull request #71 from elhostis/PATCH_70
[FIX] ISSUE 70 - Jenkins need POST params and not GET params
elhostis [Thu, 4 Apr 2013 10:02:28 +0000 (12:02 +0200)]
[FIX] ISSUE 70 - Jenkins need POST params and not GET params
Salim Fadhley [Thu, 21 Mar 2013 19:00:12 +0000 (12:00 -0700)]
Merge pull request #69 from victorgp/master
A new class to represent the Jenkins queue
Victor García [Thu, 21 Mar 2013 18:43:10 +0000 (19:43 +0100)]
Queue class to represent the Jenkins queue: lists the items and deletes them
Salim Fadhley [Thu, 21 Mar 2013 18:24:22 +0000 (11:24 -0700)]
Merge pull request #68 from victorgp/master
Adding support to delete an enqueued job and to stop a build
Victor García [Thu, 21 Mar 2013 13:09:59 +0000 (14:09 +0100)]
adding support for stopping a build if it's running
Victor García [Thu, 21 Mar 2013 12:10:48 +0000 (13:10 +0100)]
adding support to delete a job from the queue
salimfadhley [Tue, 5 Mar 2013 09:29:46 +0000 (09:29 +0000)]
Make kerberos optional. Version bump.
Salim Fadhley [Fri, 22 Feb 2013 16:43:36 +0000 (08:43 -0800)]
Merge pull request #67 from victorgp/master
Some small commits: code doc, mutable objects initialization and removing hardcoded constant
Victor García [Fri, 22 Feb 2013 16:21:05 +0000 (17:21 +0100)]
mutable objects mustn't be initialized in method params
Victor García [Fri, 22 Feb 2013 15:53:54 +0000 (16:53 +0100)]
doc comment fixed
Victor García [Fri, 22 Feb 2013 15:51:12 +0000 (16:51 +0100)]
Merge https://github.com/salimfadhley/jenkinsapi
Victor García [Tue, 12 Feb 2013 11:37:21 +0000 (12:37 +0100)]
adding STATUS_SUCCESS constant instead of hardcoded string
Salim Fadhley [Wed, 6 Feb 2013 13:50:13 +0000 (05:50 -0800)]
Merge pull request #66 from benjaminkemper/master
Fixed crash on None value in JenkinsBase._data object
benjaminkemper [Wed, 6 Feb 2013 12:20:35 +0000 (14:20 +0200)]
Fixing crash on none value
salimfadhley [Sun, 27 Jan 2013 22:01:42 +0000 (22:01 +0000)]
Another version bump.
salimfadhley [Sun, 27 Jan 2013 21:57:06 +0000 (21:57 +0000)]
Version bump.
Ruslan Lutsenko [Fri, 18 Jan 2013 11:01:05 +0000 (03:01 -0800)]
Merge pull request #64 from lruslan/master
Add ability to set slave node temporarily offline/online
Ruslan Lutsenko [Fri, 18 Jan 2013 10:51:36 +0000 (11:51 +0100)]
add comments
Ruslan Lutsenko [Fri, 18 Jan 2013 02:26:38 +0000 (03:26 +0100)]
fix node url
Ruslan Lutsenko [Fri, 18 Jan 2013 02:25:38 +0000 (03:25 +0100)]
set node online/offline
Salim Fadhley [Thu, 17 Jan 2013 16:51:36 +0000 (08:51 -0800)]
Merge pull request #63 from lruslan/master
Refactored SCM (Source Code Management) functionality
Ruslan Lutsenko [Thu, 17 Jan 2013 16:40:57 +0000 (17:40 +0100)]
fix create_node part
Ruslan Lutsenko [Mon, 14 Jan 2013 17:48:43 +0000 (18:48 +0100)]
remove redundat dependencies
Ruslan Lutsenko [Mon, 14 Jan 2013 17:41:19 +0000 (18:41 +0100)]
Refactored SCM (Source Code Management) functionality
Ruslan Lutsenko [Mon, 14 Jan 2013 16:34:51 +0000 (17:34 +0100)]
Fix: UnboundLocalError: local variable 'fn_name' referenced before assignment
Salim Fadhley [Sat, 22 Dec 2012 01:17:30 +0000 (17:17 -0800)]
Merge pull request #62 from victorgp/master
Getting mercurial revision from mercurialNodeName instead
Victor García [Fri, 21 Dec 2012 11:57:14 +0000 (12:57 +0100)]
kerberos dependency added to setup.py
Victor García [Fri, 21 Dec 2012 11:23:04 +0000 (12:23 +0100)]
getting hg revision from mercurialNodeName because there might be builds with empty changesets list
Salim Fadhley [Tue, 18 Dec 2012 16:28:27 +0000 (08:28 -0800)]
Merge pull request #61 from vjuranek/krb_auth
Added kerberos authentication