Python Jenkins no longer works with jenkins 1.532.2 (LTS)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Jenkins |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Following an upgrade from Kenkins 1.532.1 (LTS) to 1.532.2 which contains a number of security fixes I am no longer able to authenticate agains a server. With a configuration and api token that works with 1.532.1 I get an authentication error similar to the one which is thrown with a wrong api token.
-------
JenkinsException Traceback (most recent call last)
<ipython-
----> 1 jstaging.get_jobs()
/usr/local/
315 :returns: list of jobs, ``[ { str: str} ]``
316 """
--> 317 return self.get_
318
319 def copy_job(self, from_name, to_name):
/usr/local/
297 try:
298 return json.loads(
--> 299 urllib2.
300 except urllib2.HTTPError:
301 raise JenkinsExceptio
/usr/local/
216 raise JenkinsException(
217 'Error in request.' +
--> 218 'Possibly authentication failed [%s]' % (e.code)
219 )
220 # right now I'm getting 302 infinites on a successful delete
JenkinsException: Error in request.Possibly authentication failed [401]
This is probably related to https:/ /issues. jenkins- ci.org/ browse/ JENKINS- 21882 so it might just be a bug in jenkins
I am using the github oauth plugin