tools/python-jenkinsapi.git
11 years agoTidy up the comment.
salimfadhley [Sun, 16 Jun 2013 00:11:24 +0000 (01:11 +0100)]
Tidy up the comment.

11 years agoRemove redundant import
salimfadhley [Sat, 15 Jun 2013 23:14:58 +0000 (00:14 +0100)]
Remove redundant import

11 years agoAdd a comment to this example
salimfadhley [Sat, 15 Jun 2013 23:10:58 +0000 (00:10 +0100)]
Add a comment to this example

11 years agoget rid of the kerberos stuff - it's commented for now until we can come up with...
salimfadhley [Sat, 15 Jun 2013 23:07:26 +0000 (00:07 +0100)]
get rid of the kerberos stuff - it's commented for now until we can come up with a more workable implementation

11 years agopep8 format & remove redundant imports
salimfadhley [Sat, 15 Jun 2013 23:03:52 +0000 (00:03 +0100)]
pep8 format & remove redundant imports

11 years agoexamples/create_a_job.py
salimfadhley [Sat, 15 Jun 2013 22:57:04 +0000 (23:57 +0100)]
examples/create_a_job.py

an example of how to create a job with jenkinsapi

11 years agoMerge branch 'master' of https://github.com/salimfadhley/jenkinsapi
salimfadhley [Sat, 15 Jun 2013 22:47:09 +0000 (23:47 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi

11 years agosmall reformatting, cosmetic only
salimfadhley [Sat, 15 Jun 2013 22:45:41 +0000 (23:45 +0100)]
small reformatting, cosmetic only

11 years agocoverage is now a test dep
salimfadhley [Sat, 15 Jun 2013 22:44:55 +0000 (23:44 +0100)]
coverage is now a test dep

11 years agoinitial coverage + fixes for creating nodes
salimfadhley [Sat, 15 Jun 2013 22:44:16 +0000 (23:44 +0100)]
initial coverage + fixes for creating nodes

11 years agoremove redundant imports from jenkins launcher
salimfadhley [Sat, 15 Jun 2013 21:59:11 +0000 (22:59 +0100)]
remove redundant imports from jenkins launcher

11 years agoGet rid of the global - it's not needed any more.
salimfadhley [Sat, 15 Jun 2013 21:33:06 +0000 (22:33 +0100)]
Get rid of the global - it's not needed any more.

11 years agoMerge pull request #109 from lechat/unit_tests
Aleksey Maksimov [Sat, 15 Jun 2013 15:13:27 +0000 (08:13 -0700)]
Merge pull request #109 from lechat/unit_tests

jenkins.create_job no longer throws exception

11 years agojenkins.create_job no longer throws exception
Aleksey Maksimov [Fri, 14 Jun 2013 08:57:54 +0000 (08:57 +0000)]
jenkins.create_job no longer throws exception

Changed unit test for create_dup_job
Added tests for create_job

11 years agomany small fixes
salimfadhley [Sat, 15 Jun 2013 01:15:46 +0000 (02:15 +0100)]
many small fixes

11 years agoclear before testing rather than after
salimfadhley [Sat, 15 Jun 2013 01:15:11 +0000 (02:15 +0100)]
clear before testing rather than after

11 years agoupdated readme & setup files
salimfadhley [Fri, 14 Jun 2013 23:59:48 +0000 (00:59 +0100)]
updated readme & setup files

11 years agobuild fixes
salimfadhley [Fri, 14 Jun 2013 23:29:01 +0000 (00:29 +0100)]
build fixes

11 years agouse dry run to install test-dependancies automagically
salimfadhley [Fri, 14 Jun 2013 22:36:49 +0000 (23:36 +0100)]
use dry run to install test-dependancies automagically

11 years agocorrect the name of the downloady thing
salimfadhley [Fri, 14 Jun 2013 22:35:16 +0000 (23:35 +0100)]
correct the name of the downloady thing

11 years agoget rid of ipdb
salimfadhley [Fri, 14 Jun 2013 22:33:31 +0000 (23:33 +0100)]
get rid of ipdb

11 years agore enable systests in travis
salimfadhley [Fri, 14 Jun 2013 22:32:10 +0000 (23:32 +0100)]
re enable systests in travis

11 years agorefactor of jenkin launcher
salimfadhley [Fri, 14 Jun 2013 22:30:59 +0000 (23:30 +0100)]
refactor of jenkin launcher

11 years agoMerge branch 'master' of https://github.com/salimfadhley/jenkinsapi
salimfadhley [Fri, 14 Jun 2013 00:14:35 +0000 (01:14 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi

11 years agoa more robust way to launch jenkins - intended to be used in the syslaunchers when...
salimfadhley [Fri, 14 Jun 2013 00:14:17 +0000 (01:14 +0100)]
a more robust way to launch jenkins - intended to be used in the syslaunchers when running on remote CI

11 years agoMerge pull request #103 from lechat/patch-1
Salim Fadhley [Thu, 13 Jun 2013 06:20:53 +0000 (23:20 -0700)]
Merge pull request #103 from lechat/patch-1

Added Aleksey Maksimov to authors

11 years agoAdded Aleksey Maksimov to authors
Aleksey Maksimov [Thu, 13 Jun 2013 01:41:29 +0000 (09:41 +0800)]
Added Aleksey Maksimov to authors

11 years agotemporarily disabled systests in travis until I can figure out why Jenkins does not...
salimfadhley [Wed, 12 Jun 2013 23:10:30 +0000 (00:10 +0100)]
temporarily disabled systests in travis until I can figure out why Jenkins does not start

11 years agoRemove python 3.3. support
salimfadhley [Wed, 12 Jun 2013 23:06:47 +0000 (00:06 +0100)]
Remove python 3.3. support

11 years agore-add python 3.3 support
salimfadhley [Wed, 12 Jun 2013 23:04:49 +0000 (00:04 +0100)]
re-add python 3.3 support

11 years agosplit out travis commands
salimfadhley [Wed, 12 Jun 2013 23:04:10 +0000 (00:04 +0100)]
split out travis commands

11 years agofix a typo
salimfadhley [Wed, 12 Jun 2013 23:01:09 +0000 (00:01 +0100)]
fix a typo

11 years agoci should prefer nosetests
salimfadhley [Wed, 12 Jun 2013 22:59:28 +0000 (23:59 +0100)]
ci should prefer nosetests

11 years agonew home for this file
salimfadhley [Wed, 12 Jun 2013 22:54:22 +0000 (23:54 +0100)]
new home for this file

11 years agothis is in the wrong directory
salimfadhley [Wed, 12 Jun 2013 22:53:22 +0000 (23:53 +0100)]
this is in the wrong directory

11 years ago2nd rename
salimfadhley [Wed, 12 Jun 2013 22:50:48 +0000 (23:50 +0100)]
2nd rename

11 years agorename the travis config
salimfadhley [Wed, 12 Jun 2013 22:48:46 +0000 (23:48 +0100)]
rename the travis config

11 years agosetup.py
salimfadhley [Wed, 12 Jun 2013 22:44:04 +0000 (23:44 +0100)]
setup.py

11 years agoadded support for travis-ci
salimfadhley [Wed, 12 Jun 2013 22:36:15 +0000 (23:36 +0100)]
added support for travis-ci

11 years agofix some stuff I broke
salimfadhley [Wed, 12 Jun 2013 22:31:04 +0000 (23:31 +0100)]
fix some stuff I broke

11 years agorun all the tests, not just unittests
salimfadhley [Wed, 12 Jun 2013 22:17:47 +0000 (23:17 +0100)]
run all the tests, not just unittests

11 years agobuild timestamps are now timezone aware. Added the pytz class as a dependancy.
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.

11 years agoMerge branch 'master' of https://github.com/salimfadhley/jenkinsapi
salimfadhley [Wed, 12 Jun 2013 22:06:12 +0000 (23:06 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi

11 years agoMerge pull request #99 from lechat/time_fix
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

11 years agoget the parameterized build unit-test working again
salimfadhley [Wed, 12 Jun 2013 22:00:48 +0000 (23:00 +0100)]
get the parameterized build unit-test working again

11 years agofixes for parameterized builds and enabling/disabling
salimfadhley [Wed, 12 Jun 2013 21:44:08 +0000 (22:44 +0100)]
fixes for parameterized builds and enabling/disabling

11 years agoMerge pull request #100 from lechat/unit_tests
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.

11 years agoFixed 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

11 years agoChanged get_timestamp to return UTC time
Aleksey Maksimov [Wed, 12 Jun 2013 14:53:43 +0000 (22:53 +0800)]
Changed get_timestamp to return UTC time

11 years agoa lower-level example of how parameterized builds work in Jenkins
salimfadhley [Wed, 12 Jun 2013 00:59:01 +0000 (01:59 +0100)]
a lower-level example of how parameterized builds work in Jenkins

11 years agomove the post-logger out of tests, it's not really a test
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

11 years agoMerge branch 'master' of https://github.com/salimfadhley/jenkinsapi
salimfadhley [Tue, 11 Jun 2013 23:22:27 +0000 (00:22 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi

11 years agosome refactoring of builds
salimfadhley [Tue, 11 Jun 2013 23:22:09 +0000 (00:22 +0100)]
some refactoring of builds

11 years agoMerge pull request #97 from rocktavious/master
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.

11 years agonew config for circle CI support
salimfadhley [Tue, 11 Jun 2013 22:21:17 +0000 (23:21 +0100)]
new config for circle CI support

11 years agoAdding API Method - Build Job
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

11 years agoMore small fixes to jobs, I've begun work on a test for artifacts however I know...
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.

11 years agofixes for getting job configs
salimfadhley [Mon, 10 Jun 2013 22:59:29 +0000 (23:59 +0100)]
fixes for getting job configs

11 years agofixes to job starting
salimfadhley [Mon, 10 Jun 2013 22:30:42 +0000 (23:30 +0100)]
fixes to job starting

11 years agoMerge branch 'master' of https://github.com/salimfadhley/jenkinsapi
salimfadhley [Mon, 10 Jun 2013 21:05:34 +0000 (22:05 +0100)]
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi

11 years agonew stuff that I forgot to commit yesterday
salimfadhley [Mon, 10 Jun 2013 21:05:31 +0000 (22:05 +0100)]
new stuff that I forgot to commit yesterday

11 years agoMerge pull request #96 from lechat/unit_tests
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

11 years agoMerge pull request #95 from lechat/view_fix
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

11 years agoAdded tests for 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

11 years agoFixed broken 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

11 years agoMerge pull request #92 from lechat/view_bug_fix
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

11 years agoMerge pull request #93 from lechat/patch-1
Salim Fadhley [Mon, 10 Jun 2013 09:22:35 +0000 (02:22 -0700)]
Merge pull request #93 from lechat/patch-1

Fixed timestamp.

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

11 years agoFixed bug: view.add_job fails when job parameter contains Job object
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

11 years agonew nodes class + basic tests
salimfadhley [Sun, 9 Jun 2013 23:36:10 +0000 (00:36 +0100)]
new nodes class + basic tests

11 years agoInterim commit - I'm part way through refactoring all the networking stuff.
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.

11 years agotweak the readme file
salimfadhley [Sun, 2 Jun 2013 22:56:32 +0000 (23:56 +0100)]
tweak the readme file

11 years agoAdd an example + updated installation syntax to 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.

11 years agoAdd a lot of helpful and useful stuff to the sublime config
salimfadhley [Sun, 2 Jun 2013 22:40:17 +0000 (23:40 +0100)]
Add a lot of helpful and useful stuff to the sublime config

11 years agoRemove the id() method from most of the jenkinsapi classes
salimfadhley [Sun, 2 Jun 2013 22:39:50 +0000 (23:39 +0100)]
Remove the id() method from most of the jenkinsapi classes

11 years agomore doc tweaks
Salim Fadhley [Sun, 2 Jun 2013 00:36:04 +0000 (01:36 +0100)]
more doc tweaks

11 years agoAdded the sublime project file
Salim Fadhley [Sun, 2 Jun 2013 00:12:59 +0000 (01:12 +0100)]
Added the sublime project file

11 years agoMany fixes to document building - we now use the handy pypi doc upload script.
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.

11 years agoNew datetime behavior for builds as requested.
Salim Fadhley [Fri, 31 May 2013 23:11:33 +0000 (00:11 +0100)]
New datetime behavior for builds as requested.

11 years agoSome small code tidy-ups, a version bump + correct the datetime behavior for build...
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()

11 years agoMerge pull request #86 from lechat/views
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

11 years agoReworked add_job
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

11 years agoCleaned create_view, added delete_view
Aleksey Maksimov [Wed, 29 May 2013 14:34:20 +0000 (22:34 +0800)]
Cleaned create_view, added delete_view

11 years agoMerge pull request #85 from x746e/systests
Salim Fadhley [Mon, 27 May 2013 08:32:21 +0000 (01:32 -0700)]
Merge pull request #85 from x746e/systests

Added system tests.

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

11 years agoAdded Jenkins.__contains__ method.
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')```.

11 years agoMerge pull request #84 from x746e/master
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.

11 years agoMerge pull request #77 from vjuranek/api_nested_view
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

11 years agoMerge pull request #83 from Sicness/get_job_description
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

11 years agoChanged View.add_job() to actually add job to the view, rather than replace all 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.

11 years agoAdded get_description function for jobs
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.

11 years agoMerge pull request #79 from baijum/patch-1
Salim Fadhley [Tue, 21 May 2013 10:11:10 +0000 (03:11 -0700)]
Merge pull request #79 from baijum/patch-1

update documentation link

11 years agoupdate documentation link
Baiju Muthukadan [Tue, 21 May 2013 08:35:00 +0000 (14:05 +0530)]
update documentation link

11 years agoMerge pull request #78 from vjuranek/nested_views
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

11 years agoAdd convenient method for obtaing nested view
Vojtech Juranek [Mon, 20 May 2013 21:10:01 +0000 (23:10 +0200)]
Add convenient method for obtaing nested view

11 years agoAdd support for nested views
Vojtech Juranek [Mon, 20 May 2013 20:23:21 +0000 (22:23 +0200)]
Add support for nested views

11 years agoMerge pull request #76 from baijum/master
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

11 years agoCause 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

11 years agoVersion bump.
salimfadhley [Sat, 4 May 2013 10:12:42 +0000 (11:12 +0100)]
Version bump.

11 years agoMerge pull request #75 from vjuranek/fix_typo
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