tools/python-jenkinsapi.git
10 years agoadd support for FILE parameters.
Damien Nozay [Thu, 10 Oct 2013 06:05:53 +0000 (23:05 -0700)]
add support for FILE parameters.

if a job requires file paremeters, then we cannot use the /build form to
request the build, we need to switch to the /buildWithParameters trigger
and provide a multipart encoded upload.

thankfully requests library has all the plumbing.

10 years agoMerge pull request #175 from Smartesting/fetch_all_builds
Salim Fadhley [Sun, 6 Oct 2013 21:30:57 +0000 (14:30 -0700)]
Merge pull request #175 from Smartesting/fetch_all_builds

Fetch full build list of job when incomplete

10 years agoFetch full build list when incomplete
Christophe Bliard [Fri, 4 Oct 2013 16:12:18 +0000 (18:12 +0200)]
Fetch full build list when incomplete

By default, Jenkins returns the last 100 builds. If there are more
builds, an extra api call is made to have all builds in the job object

10 years agoensure virtualenv installed and WORKSPACE defined
Christophe Bliard [Fri, 4 Oct 2013 13:38:13 +0000 (15:38 +0200)]
ensure virtualenv installed and WORKSPACE defined

10 years agoAdd Plugins#__str__
Christophe Bliard [Fri, 4 Oct 2013 12:23:07 +0000 (14:23 +0200)]
Add Plugins#__str__

Because when doing jenkins.get_plugins() in an interactive python shell,
the behavior was to use the JenkinsBase#__str__ which throws a
NotImplementedError

10 years agoMerge pull request #172 from kworr/patch-1
Salim Fadhley [Tue, 1 Oct 2013 22:54:20 +0000 (15:54 -0700)]
Merge pull request #172 from kworr/patch-1

fix exceptions inheritance

10 years agofix 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

10 years agoadd license to setup file
salimfadhley [Fri, 27 Sep 2013 22:48:29 +0000 (23:48 +0100)]
add license to setup file

10 years agoversion bump
salimfadhley [Fri, 27 Sep 2013 21:32:58 +0000 (22:32 +0100)]
version bump

10 years agoMerge pull request #167 from victorgp/master
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

10 years agoMerge pull request #170 from rocktavious/master
Salim Fadhley [Fri, 27 Sep 2013 20:58:36 +0000 (13:58 -0700)]
Merge pull request #170 from rocktavious/master

README work

10 years agoREADME 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!

10 years agochanging test to check the fix
Victor García [Thu, 12 Sep 2013 17:17:16 +0000 (19:17 +0200)]
changing test to check the fix

10 years agoupdating and fixing tests
Victor García [Thu, 12 Sep 2013 17:09:37 +0000 (19:09 +0200)]
updating and fixing tests

10 years agofixing queue url format, the api/python part was duplicated
Victor García [Thu, 12 Sep 2013 16:35:43 +0000 (18:35 +0200)]
fixing queue url format, the api/python part was duplicated

10 years agofixing get_last_build when the build is running and fixing is_running method as well
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

10 years agoupdating with original repo
Victor García [Thu, 12 Sep 2013 16:34:00 +0000 (18:34 +0200)]
updating with original repo

10 years agoMerge pull request #163 from TageNielsen/master
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

10 years agoPip 1.4+ compatibility with pytz
Tage Nielsen [Sat, 7 Sep 2013 21:26:03 +0000 (14:26 -0700)]
Pip 1.4+ compatibility with pytz

10 years agoMerge pull request #162 from kbriggs/topic-matrix-runs
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

10 years agoAdd Build.get_matrix_runs()
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.

10 years agoMake test_jenkins_artifacts more forgiving
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.

10 years agoVersion bump
salimfadhley [Thu, 22 Aug 2013 23:44:21 +0000 (00:44 +0100)]
Version bump

10 years agoMerge pull request #161 from lechat/block_fix
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

10 years agoFixed last build number in invocation
Aleksey Maksimov [Sun, 18 Aug 2013 15:21:08 +0000 (23:21 +0800)]
Fixed last build number in invocation

10 years agoMerge pull request #154 from pkocandr/unstable-sslnoverify
Aleksey Maksimov [Fri, 16 Aug 2013 02:40:02 +0000 (10:40 +0800)]
Merge pull request #154 from pkocandr/unstable-sslnoverify

10 years agoMerge 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

10 years agoMerge pull request #159 from lechat/invoke_fix
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)

10 years agoFixed 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)

10 years agoRemoved debug printout
Aleksey Maksimov [Sun, 4 Aug 2013 15:59:55 +0000 (23:59 +0800)]
Removed debug printout

11 years agoMerge branch 'master' of github.com:lechat/jenkinsapi
Aleksey Maksimov [Sun, 28 Jul 2013 07:35:21 +0000 (15:35 +0800)]
Merge branch 'master' of github.com:lechat/jenkinsapi

11 years agoAllow no verification of server certificate when using https
Petr Kocandrle [Fri, 26 Jul 2013 11:01:37 +0000 (13:01 +0200)]
Allow no verification of server certificate when using https

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

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

11 years agoVersion bump
salimfadhley [Thu, 18 Jul 2013 22:51:34 +0000 (23:51 +0100)]
Version bump

11 years agoThis whole file is disabled for now.
salimfadhley [Thu, 18 Jul 2013 22:43:49 +0000 (23:43 +0100)]
This whole file is disabled for now.

11 years agofix for queue delete issue
salimfadhley [Thu, 18 Jul 2013 22:26:48 +0000 (23:26 +0100)]
fix for queue delete issue

11 years agoMore files to ignore
Aleksey Maksimov [Fri, 12 Jul 2013 07:14:58 +0000 (15:14 +0800)]
More files to ignore

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

11 years agoChnged views() to views in tests and examples
Aleksey Maksimov [Wed, 10 Jul 2013 16:10:32 +0000 (00:10 +0800)]
Chnged views() to views in tests and examples

11 years agoMade views() a property, added safety in case view doesn't have subviews
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

11 years agoAdded nested-view plugin and systest for it
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

11 years agoVersion bump
salimfadhley [Tue, 9 Jul 2013 22:48:28 +0000 (23:48 +0100)]
Version bump

11 years agoAdded another way of adding a view and example for it
lechat [Tue, 9 Jul 2013 17:12:30 +0000 (01:12 +0800)]
Added another way of adding a view and example for it

11 years agoAdded job removal example
lechat [Tue, 9 Jul 2013 17:12:00 +0000 (01:12 +0800)]
Added job removal example

11 years agoMoved addjob.xml to make examples working
lechat [Tue, 9 Jul 2013 17:11:39 +0000 (01:11 +0800)]
Moved addjob.xml to make examples working

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

11 years agoAdded example for creating nested view
lechat [Tue, 9 Jul 2013 16:03:43 +0000 (00:03 +0800)]
Added example for creating nested view

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

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

11 years agoMerge pull request #143 from lechat/views_fix
Aleksey Maksimov [Tue, 9 Jul 2013 15:15:34 +0000 (08:15 -0700)]
Merge pull request #143 from lechat/views_fix

Views fix

11 years agoFixed tests, reformatted View with PEP8, added more tests
lechat [Tue, 9 Jul 2013 13:50:43 +0000 (21:50 +0800)]
Fixed tests, reformatted View with PEP8, added more tests

11 years agoAdded ability to create nested views
Aleksey Maksimov [Tue, 2 Jul 2013 10:16:18 +0000 (18:16 +0800)]
Added ability to create nested views

11 years agoAdded view.views() method to get nested Views object
Aleksey Maksimov [Tue, 2 Jul 2013 10:15:40 +0000 (18:15 +0800)]
Added view.views() method to get nested Views object

11 years agoAdded code to debug HTTP requests (commented)
Aleksey Maksimov [Tue, 2 Jul 2013 10:14:38 +0000 (18:14 +0800)]
Added code to debug HTTP requests (commented)

11 years agoConvert config to str if it is unicode
Aleksey Maksimov [Fri, 28 Jun 2013 05:51:17 +0000 (13:51 +0800)]
Convert config to str if it is unicode

11 years agotweak to one unit test
salimfadhley [Fri, 5 Jul 2013 23:44:45 +0000 (00:44 +0100)]
tweak to one unit test

11 years agoversion bump
salimfadhley [Fri, 5 Jul 2013 23:08:20 +0000 (00:08 +0100)]
version bump

11 years agoMerge branch 'unstable'
salimfadhley [Fri, 5 Jul 2013 23:07:57 +0000 (00:07 +0100)]
Merge branch 'unstable'

11 years agoFix for issue #142 copy_job return value changed from destination job to source job
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

11 years agobuild objects now have a get_console function
salimfadhley [Fri, 5 Jul 2013 00:04:35 +0000 (01:04 +0100)]
build objects now have a get_console function

11 years agoMerge branch 'unstable'
salimfadhley [Mon, 1 Jul 2013 23:55:26 +0000 (00:55 +0100)]
Merge branch 'unstable'

11 years agoAdd an extra test to verify multiple invocation behavior.
salimfadhley [Mon, 1 Jul 2013 23:53:32 +0000 (00:53 +0100)]
Add an extra test to verify multiple invocation behavior.

11 years agoVersion bump
Salim Fadhley [Sun, 30 Jun 2013 01:19:49 +0000 (02:19 +0100)]
Version bump

11 years agohandle missing build objects slightly better
Salim Fadhley [Sun, 30 Jun 2013 01:12:53 +0000 (02:12 +0100)]
handle missing build objects slightly better

11 years agoMerge branch 'unstable'
Salim Fadhley [Sun, 30 Jun 2013 01:04:18 +0000 (02:04 +0100)]
Merge branch 'unstable'

11 years agomoved the scm test out of systests into unittests
Salim Fadhley [Sun, 30 Jun 2013 01:03:44 +0000 (02:03 +0100)]
moved the scm test out of systests into unittests

11 years agoThis test is disabled,it does not actually test all that much about the API, it would...
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.

11 years agosupport for binary artifacts
Salim Fadhley [Sun, 30 Jun 2013 00:01:35 +0000 (01:01 +0100)]
support for binary artifacts

11 years agoremove unused import
Salim Fadhley [Sat, 29 Jun 2013 23:49:49 +0000 (00:49 +0100)]
remove unused import

11 years agomove the pinger job config into the config file
Salim Fadhley [Sat, 29 Jun 2013 23:39:02 +0000 (00:39 +0100)]
move the pinger job config into the config file

11 years agoMerge branch 'unstable'
Salim Fadhley [Sat, 29 Jun 2013 23:24:32 +0000 (00:24 +0100)]
Merge branch 'unstable'

11 years agoMake nosetests verbose
Salim Fadhley [Sat, 29 Jun 2013 23:17:40 +0000 (00:17 +0100)]
Make nosetests verbose

11 years agoan attempt to force the launcher to wait until jenkins is actually launched
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

11 years agochange cannot parse error
Salim Fadhley [Sat, 29 Jun 2013 22:41:48 +0000 (23:41 +0100)]
change cannot parse error

11 years agoget rid of the ill-coinceived retry function
Salim Fadhley [Sat, 29 Jun 2013 22:26:22 +0000 (23:26 +0100)]
get rid of the ill-coinceived retry function

11 years agodelete some krb stuff
Salim Fadhley [Sat, 29 Jun 2013 22:26:02 +0000 (23:26 +0100)]
delete some krb stuff

11 years agoAdd a header
salimfadhley [Thu, 27 Jun 2013 21:38:42 +0000 (22:38 +0100)]
Add a header

11 years agoAdded a script for all the jenkins activities.
salimfadhley [Thu, 27 Jun 2013 21:29:44 +0000 (22:29 +0100)]
Added a script for all the jenkins activities.

11 years agoAdd a word from our sponsors
salimfadhley [Thu, 27 Jun 2013 21:23:06 +0000 (22:23 +0100)]
Add a word from our sponsors

11 years agoMerge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable
salimfadhley [Thu, 27 Jun 2013 21:19:54 +0000 (22:19 +0100)]
Merge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable

11 years agoversion bump
salimfadhley [Wed, 26 Jun 2013 22:44:10 +0000 (23:44 +0100)]
version bump

11 years agoapply the requested patch to solve issue #20
salimfadhley [Wed, 26 Jun 2013 22:40:49 +0000 (23:40 +0100)]
apply the requested patch to solve issue #20

11 years agoMerge pull request #134 from sudharsh/unstable
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

11 years agoUse requests instead of urllib.urlretrieve for plugins
Sudharshan S [Tue, 25 Jun 2013 20:38:25 +0000 (20:38 +0000)]
Use requests instead of urllib.urlretrieve for plugins

11 years agoBegin test cases for testing jenkins API calls related to the SCM
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

11 years agojenkins_launcher can now install plugins
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

11 years agoFix build.get_revision() for GIT repositories
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

11 years agoVersion bump
salimfadhley [Mon, 24 Jun 2013 23:46:40 +0000 (00:46 +0100)]
Version bump

11 years agosome small fixes
salimfadhley [Mon, 24 Jun 2013 23:44:47 +0000 (00:44 +0100)]
some small fixes

11 years agosome small fixes
salimfadhley [Mon, 24 Jun 2013 23:44:47 +0000 (00:44 +0100)]
some small fixes

11 years agoMerge branch 'unstable'
salimfadhley [Mon, 24 Jun 2013 23:32:46 +0000 (00:32 +0100)]
Merge branch 'unstable'

11 years agoinital somewhat working demo of invocations
salimfadhley [Mon, 24 Jun 2013 23:09:48 +0000 (00:09 +0100)]
inital somewhat working demo of invocations

11 years agoAdded a note to ask people not to email the developers for support
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

11 years agoBumped Alexey up the list!
salimfadhley [Sun, 23 Jun 2013 23:55:56 +0000 (00:55 +0100)]
Bumped Alexey up the list!

11 years agoVersion bump
salimfadhley [Sun, 23 Jun 2013 23:50:37 +0000 (00:50 +0100)]
Version bump

11 years agointerim commit - pausing for the night
salimfadhley [Sun, 23 Jun 2013 23:49:50 +0000 (00:49 +0100)]
interim commit - pausing for the night

11 years agorefactor continues on invocation;
salimfadhley [Sun, 23 Jun 2013 21:53:13 +0000 (22:53 +0100)]
refactor continues on invocation;

11 years agoMerge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable
Salim Fadhley [Sun, 23 Jun 2013 20:39:52 +0000 (21:39 +0100)]
Merge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable

11 years agomore invocation stuff, temporary commit as I move to a new computer
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