Get Job Info by Pattern should use fullname
Bug #1685575 reported by
Bernardo Vale
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Jenkins |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
get_job_info_regex should use fullname instead of name otherwise it will fail if the matched job is inside a folder.
For example, given the above structure:
job1
frontend/
front-build
front-deploy
job2
If we execute this code:
jobs = server.
We will get the following error:
jenkins.
Because we're not sending the folder name to _get_job_folder.
Changed in python-jenkins: | |
assignee: | Bernardo Vale (bvale) → Khai Do (zaro0508) |
status: | New → In Progress |
Changed in python-jenkins: | |
assignee: | Khai Do (zaro0508) → Sorin Sbârnea (sorin-sbarnea) |
Changed in python-jenkins: | |
assignee: | Sorin Sbarnea (ssbarnea) → nobody |
To post a comment you must log in.
PR: https:/ /review. openstack. org/#/c/ 459087/