Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
* Jenkins and plugins latest
* thousands of generated jobs by job-dsl plugin
* Nested view with lots of sectioned views
Description
If a job is inside a sectioned view (section view plugin) the view-base priority evaluation seems to be broken. Excerpt from log:
Evaluating JobGroup [21] ... [...] Evaluating View [Continuous] ... [...} Evaluating View [~NEVER-OPEN-THIS] ... Using filter ... Job is matching the filter ... No applicable strategy - Using JobGroup default Jun 17, 2014 9:26:28 AM FINE PrioritySorter.Queue.Items Buildable: Id: 6076, JobName: DirectoryService_Tests, jobGroupId: 21, reason: <none>, priority: 5, weight: 5.0, status: BUILDABLE
The same Job "DirectoryService_Tests" is in the sectioned [Continuous] view but it is only evaluated in the view NEVER-OPEN-THIS which is a flat ALL jobs view.
Code changed in jenkins
User: emsa23
Path:
src/main/java/jenkins/advancedqueue/PriorityConfiguration.java
http://jenkins-ci.org/commit/priority-sorter-plugin/30567281338443e5f73d7790bbb6aefc4d0594b1
Log:
JENKINS-23462Sectioned views are not evaluated for job priorityHandling differences in implementations of contains() in
various View/ViewGroups