python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00367
[Bug 1595877] Re: get_job_info when trying run 'json.loads'
which version of jenkins and python-jenkins are you using?
--
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/1595877
Title:
get_job_info when trying run 'json.loads'
Status in Python Jenkins:
New
Bug description:
I'm trying to use the next block of code:
last_build_number = self.server.get_job_info('func-testing')['lastCompletedBuild']['number']
build_info = self.server.get_job_info('func-testing', last_build_number)
but it fails with "Could not parse JSON info for func-testing"
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1595877/+subscriptions
References