Public bug reported:
With python-jenkins >= 1.0.0, the parameter 'query' of the get_info()
method is ignored:
url = '/'.join((item, INFO)).lstrip('/')
url = quote(url)
if query:
url += query
try:
return json.loads(self.jenkins_open(
requests.Request('GET', self._build_url(INFO))
))
except (req_exc.HTTPError, BadStatusLine):
....
The query parameter is used to construct the url which isn't passed to the
actual request. As a result, all calls to get_info() return only the mninimal
job fields.
** Affects: python-jenkins
Importance: Undecided
Status: New
--
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/1771319
Title:
get_info() ignores query argument
Status in Python Jenkins:
New
Bug description:
With python-jenkins >= 1.0.0, the parameter 'query' of the get_info()
method is ignored:
url = '/'.join((item, INFO)).lstrip('/')
url = quote(url)
if query:
url += query
try:
return json.loads(self.jenkins_open(
requests.Request('GET', self._build_url(INFO))
))
except (req_exc.HTTPError, BadStatusLine):
....
The query parameter is used to construct the url which isn't passed to the
actual request. As a result, all calls to get_info() return only the mninimal
job fields.
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1771319/+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