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 -- You received this bug notification because you are a member of Python Jenkins Developers, which is subscribed to Python Jenkins. https://bugs.launchpad.net/bugs/1282525 Title: Python Jenkins no longer works with jenkins 1.532.2 (LTS) Status in Python API for Jenkins: New 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-input-5-4fa85a340b61> in <module>() ----> 1 jstaging.get_jobs() /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jenkins/__init__.pyc in get_jobs(self) 315 :returns: list of jobs, ``[ { str: str} ]`` 316 """ --> 317 return self.get_info()['jobs'] 318 319 def copy_job(self, from_name, to_name): /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jenkins/__init__.pyc in get_info(self) 297 try: 298 return json.loads(self.jenkins_open( --> 299 urllib2.Request(self.server + INFO))) 300 except urllib2.HTTPError: 301 raise JenkinsException("Error communicating with server[%s]" /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jenkins/__init__.pyc in jenkins_open(self, req) 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] To manage notifications about this bug go to: https://bugs.launchpad.net/python-jenkins/+bug/1282525/+subscriptions -- Mailing list: https://launchpad.net/~python-jenkins-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~python-jenkins-developers More help : https://help.launchpad.net/ListHelp

