Details
-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: prioritysorter-plugin
-
Labels:
-
Similar Issues:
Description
The priority sorter plugin is not listed in the compatible plugin README.md. In addition, when using the "Run Exclusive" option, pipeline jobs get stuck in the queue. Unchecking the option leads to successful job migrations from the build queue to executors.
Attachments
Issue Links
- links to
A little digging through logs, and taking a "how to get it working with, even if not fully supported" approach. It looks like flyweight tasks are getting prioritised as per rules in http://jenkins_host:8080/jenkins/advanced-build-queue/
Heavy weight tasks on the other hand (where prioritisation would be really useful) look to be hitting PriorityConfiguration.java#L211-L216 and so getting assigned a default value.
Can we ease
That way we could atleast add filters to re-prioritise