![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Jesse Glick
|
|
Components:
|
core |
|
Created:
|
30/Oct/12 2:57 PM
|
|
Description:
|
If a job is defined in a folder and tied to a slave or label then it does not show up in the “Projects tied to” report for either /computer/* or /label/*. A job with the same configuration in the root folder does show up in these reports.
The reason is that Label.getTiedJobs calls Jenkins.getItems() which will ignore the contents of folders; should be using getAllItems(AbstractProject.class).
(This call is potentially slow so not a great idea to call synchronously from a Jelly view; better to use ProgressiveRendering. Not as big of an issue as e.g. /asynchPeople for which builds, not just projects, are loaded.)
|
|
Environment:
|
1.466.x, CloudBees Folders plugin
|
|
Project:
|
Jenkins
|
|
Labels:
|
labels
folders
|
|
Priority:
|
Minor
|
|
Reporter:
|
Jesse Glick
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|