Hugh Brown [Thu, 10 Oct 2013 23:04:20 +0000 (19:04 -0400)]
Fix use of for-else with no break
Hugh Brown [Thu, 10 Oct 2013 23:02:20 +0000 (19:02 -0400)]
Fool with pylintrc
Hugh Brown [Thu, 10 Oct 2013 23:02:06 +0000 (19:02 -0400)]
Split overlong line
Hugh Brown [Thu, 10 Oct 2013 22:55:55 +0000 (18:55 -0400)]
Lookup in dict
Hugh Brown [Thu, 10 Oct 2013 22:53:35 +0000 (18:53 -0400)]
Move docstring before code
Hugh Brown [Thu, 10 Oct 2013 22:49:26 +0000 (18:49 -0400)]
Modify over-long lines
Hugh Brown [Thu, 10 Oct 2013 22:47:41 +0000 (18:47 -0400)]
Renaming variable that masks one in outer scope
Hugh Brown [Thu, 10 Oct 2013 22:45:18 +0000 (18:45 -0400)]
Initialize instance variable inside ctor
Hugh Brown [Thu, 10 Oct 2013 22:43:14 +0000 (18:43 -0400)]
Fix dangerous default argument
Hugh Brown [Thu, 10 Oct 2013 22:39:10 +0000 (18:39 -0400)]
Add docstring to class
Hugh Brown [Thu, 10 Oct 2013 22:37:04 +0000 (18:37 -0400)]
Remove unneeded argument in internal method
Hugh Brown [Thu, 10 Oct 2013 22:32:42 +0000 (18:32 -0400)]
Split long lines
Hugh Brown [Thu, 10 Oct 2013 22:29:12 +0000 (18:29 -0400)]
Implement methods with dict-like primitives
Hugh Brown [Thu, 10 Oct 2013 22:26:55 +0000 (18:26 -0400)]
Put dict to use
Hugh Brown [Thu, 10 Oct 2013 22:07:54 +0000 (18:07 -0400)]
Fix pylint errors relating to collection implementation
Hugh Brown [Thu, 10 Oct 2013 22:00:49 +0000 (18:00 -0400)]
Use dict.get to simplify test and iteration
Hugh Brown [Thu, 10 Oct 2013 21:52:39 +0000 (17:52 -0400)]
Change class name jenkins_invoke to JenkinsInvoke (camelcase)
Hugh Brown [Thu, 10 Oct 2013 21:47:56 +0000 (17:47 -0400)]
Add module and class docstrings
Hugh Brown [Thu, 10 Oct 2013 21:39:45 +0000 (17:39 -0400)]
Remove dead file
Hugh Brown [Thu, 10 Oct 2013 21:23:29 +0000 (17:23 -0400)]
Remove unused imports
Hugh Brown [Thu, 10 Oct 2013 21:19:05 +0000 (17:19 -0400)]
Fix pylint error relating to logging
Hugh Brown [Thu, 10 Oct 2013 21:11:42 +0000 (17:11 -0400)]
Add module docstring
Hugh Brown [Thu, 10 Oct 2013 21:08:55 +0000 (17:08 -0400)]
Use list comprehension; split long lines
Hugh Brown [Thu, 10 Oct 2013 21:00:42 +0000 (17:00 -0400)]
Merge multiple docstrings
Hugh Brown [Thu, 10 Oct 2013 20:59:28 +0000 (16:59 -0400)]
Remove unneeded imports
Hugh Brown [Thu, 10 Oct 2013 20:58:08 +0000 (16:58 -0400)]
Fix over-indentation
Hugh Brown [Thu, 10 Oct 2013 20:49:10 +0000 (16:49 -0400)]
Add pylint config
Hugh Brown [Thu, 10 Oct 2013 20:46:55 +0000 (16:46 -0400)]
Add pep8 and pylint to .travis.yml
Hugh Brown [Thu, 10 Oct 2013 20:25:18 +0000 (16:25 -0400)]
Change import for pylint error
Hugh Brown [Thu, 10 Oct 2013 20:19:49 +0000 (16:19 -0400)]
Reformat __all__
Hugh Brown [Thu, 10 Oct 2013 20:19:34 +0000 (16:19 -0400)]
Fix really long lines
Hugh Brown [Thu, 10 Oct 2013 20:08:46 +0000 (16:08 -0400)]
Fix indentation of block
Hugh Brown [Thu, 10 Oct 2013 20:04:13 +0000 (16:04 -0400)]
Remove use of has_key
Hugh Brown [Thu, 10 Oct 2013 19:50:32 +0000 (15:50 -0400)]
Split lines joined by semicolon
Hugh Brown [Thu, 10 Oct 2013 19:47:46 +0000 (15:47 -0400)]
Fix whitespace around operators
Hugh Brown [Thu, 10 Oct 2013 19:44:10 +0000 (15:44 -0400)]
Add trailing newline in file
Hugh Brown [Thu, 10 Oct 2013 19:43:07 +0000 (15:43 -0400)]
Fix whitespace issues
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.
salimfadhley [Sun, 6 Oct 2013 21:37:56 +0000 (22:37 +0100)]
Merge branch 'folders_plugin_fix' of https://github.com/willthames/jenkinsapi into unstable
salimfadhley [Sun, 6 Oct 2013 21:36:35 +0000 (22:36 +0100)]
merge some recent fixes
salimfadhley [Sun, 6 Oct 2013 21:33:22 +0000 (22:33 +0100)]
Try to be consistent about what type is returned
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
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
Christophe Bliard [Fri, 4 Oct 2013 13:38:13 +0000 (15:38 +0200)]
ensure virtualenv installed and WORKSPACE defined
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
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.
salimfadhley [Tue, 1 Oct 2013 23:12:24 +0000 (00:12 +0100)]
Temporarily disable a test.
salimfadhley [Tue, 1 Oct 2013 22:57:26 +0000 (23:57 +0100)]
Merge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable
salimfadhley [Tue, 1 Oct 2013 22:56:40 +0000 (23:56 +0100)]
Merge branch 'master' of https://github.com/rocktavious/jenkinsapi into unstable
Petr Kocandrle [Thu, 25 Jul 2013 19:24:02 +0000 (21:24 +0200)]
Add kerberos authentication requester using requests_kerberos
Petr Kocandrle [Wed, 24 Jul 2013 12:14:11 +0000 (14:14 +0200)]
Keep the same scheme (protocol) as was used in Jenkins constructor in all requests
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.
This was introduced in
4f29f6742410736016b568002d8569f19d786841 (version 0.1.13) but lost again in
79934f0b5ca44a1d4ecbaf534eb1add8e343193f.
Salim Fadhley [Tue, 1 Oct 2013 22:54:20 +0000 (15:54 -0700)]
Merge pull request #172 from kworr/patch-1
fix exceptions inheritance
salimfadhley [Tue, 1 Oct 2013 22:51:45 +0000 (23:51 +0100)]
Merge branch 'unstable' of https://github.com/salimfadhley/jenkinsapi into unstable
Petr Kocandrle [Thu, 25 Jul 2013 19:24:02 +0000 (21:24 +0200)]
Add kerberos authentication requester using requests_kerberos
Petr Kocandrle [Wed, 24 Jul 2013 12:14:11 +0000 (14:14 +0200)]
Keep the same scheme (protocol) as was used in Jenkins constructor in all requests
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.
This was introduced in
4f29f6742410736016b568002d8569f19d786841 (version 0.1.13) but lost again in
79934f0b5ca44a1d4ecbaf534eb1add8e343193f.
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
Kyle [Sat, 28 Sep 2013 15:22:38 +0000 (10:22 -0500)]
Build.get_downstream methods
These methods do not return the proper data. Fixing them and adding a
unit test for them but i'm not familar with magicmock so its having an
issue.
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:09:18 +0000 (14:09 -0700)]
Merge pull request #157 from pkocandr/unstable-krbrequester
Add kerberos authentication requester using requests_kerberos
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 [Thu, 25 Jul 2013 19:24:02 +0000 (21:24 +0200)]
Add kerberos authentication requester using requests_kerberos
Petr Kocandrle [Wed, 24 Jul 2013 12:14:11 +0000 (14:14 +0200)]
Keep the same scheme (protocol) as was used in Jenkins constructor in all requests
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.
This was introduced in
4f29f6742410736016b568002d8569f19d786841 (version 0.1.13) but lost again in
79934f0b5ca44a1d4ecbaf534eb1add8e343193f.
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 08:30:39 +0000 (16:30 +0800)]
Fixed improper requester
Aleksey Maksimov [Fri, 12 Jul 2013 08:21:59 +0000 (16:21 +0800)]
Added Jobs() container (similar to Views())
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