python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00580
[Bug 1828051] Re: jenkins.get_job_info fetch_all_builds doesn't work for jobs in folders
Reviewed: https://review.opendev.org/657628
Committed: https://git.openstack.org/cgit/jjb/python-jenkins/commit/?id=190fbbb5ad04e97c4450fe7c78afe638b0d9e5e3
Submitter: Zuul
Branch: master
commit 190fbbb5ad04e97c4450fe7c78afe638b0d9e5e3
Author: Frank Lichtenheld <frank.lichtenheld@xxxxxxxxxx>
Date: Tue May 7 16:55:48 2019 +0200
Make get_job_info fetch_all_builds work with jobs in folders
Make sure to use fullName from the API results to correctly
compute the URL for the additional API request.
Change-Id: I7ca1f2e15a6c40883ba376b182c2c991ca76e8b2
Closes-Bug:#1828051
** Changed in: python-jenkins
Status: In Progress => Fix Released
--
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/1828051
Title:
jenkins.get_job_info fetch_all_builds doesn't work for jobs in
folders
Status in Python Jenkins:
Fix Released
Bug description:
This is because add_missing_builds uses
self._get_job_folder(data["name"]) where it should use
self._get_job_folder(data["fullName"])
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1828051/+subscriptions
References