-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Jenkins 2.6
Plugin 3.5.1
Hello Everyone,
New Year Wishes
I am not able to sort the jobs as per the priority using this plugin.
My Requirement
Jobs in Build Queue should sort as per the priority
Any new job comes with priority/higher priority should run the job next on lockable resource where it can run.
Using lockable resources in the Environment
Configuration I DID
|
Only Admins can edit Job Priorities | |||
Check if only Administrators should be allowed to view and edit the Job Priorities |
Job Priorities
Assign Priorities by creating JobGroups. Priorities are assigned top down by first match.
JobGroup | |||
Description | |||
Jobs to include | All JobsJobs and Folders marked for inclusionJobs included in FolderJobs included in a View | ||
|
Priority | – use default priority --12345 | ||
Run Exclusive (experimental) | |||
Use additional rules when assigning a priority to a Job | |||
Priority Strategy | |||
Use Priority from Build Parameter | |||
Build Parameter Name | |||
Delete | |||
Add| |
Delete | |||
Add|
In Jobs using the parameter to assign the priority
This project is parameterized | |||
String Parameter | |||
Name | |||
Default Value | |||
Description | [Plain text] Preview |
||
Delete |
Add Parameter|
Plugin behavior Observed
Jobs are running FIFO even after above configuration and priorities in jobs
when there are 3 jobs in build queue if i restart Jenkins, after restart only first 2 jobs are selected and sorted as per the priority (max number runs first)
In all other cases observed "Sorted 1 Buildable Items with Min Weight X and Max Weight X"
Version
Jenkins 2.6
Plugin 3.5.1
Please share your feedback. Thank you