|
||||||||
|
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 |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Interesting. the Problem is not with static priorities, but with the priority parameter.
I start the builds in "reverse priority order". The build queue in the job page shows them sorted in priority order:
pending #27 cancel this build (pending—Waiting for next available executor on foobar) BuildPriority=6
pending #26 cancel this build (pending—Waiting for next available executor on foobar) BuildPriority=4
pending #25 cancel this build (pending—Waiting for next available executor on foobar) BuildPriority=3
pending #24 cancel this build (pending—Waiting for next available executor on foobar) BuildPriority=2
pending #23 cancel this build (pending—Waiting for next available executor on foobar) BuildPriority=1
In progress > Console Output #22 Aug 25, 2014 7:56:28 AM
[cancel]
The queue is all with the same priority:
Aug 25, 2014 7:57:27 AM FINER PrioritySorter.Queue.Sorter
Queue:
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
Aug 25, 2014 7:57:29 AM FINE PrioritySorter.Queue.Sorter
Sorted 4 Buildable Items with Min Weight 5 and Max Weight 5
Aug 25, 2014 7:57:29 AM FINER PrioritySorter.Queue.Sorter
Queue:
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
Aug 25, 2014 7:57:29 AM FINE PrioritySorter.Queue.Items
Starting: Id: 5921, JobName: testPriorityN, jobGroupId: 0, reason: , priority: 5, weight: 5.0, status: BUILDABLE
Aug 25, 2014 7:57:29 AM FINE PrioritySorter.Queue.Sorter
Sorted 3 Buildable Items with Min Weight 5 and Max Weight 5
Aug 25, 2014 7:57:29 AM FINER PrioritySorter.Queue.Sorter
Queue:
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
Aug 25, 2014 7:57:32 AM FINE PrioritySorter.Queue.Sorter
Sorted 3 Buildable Items with Min Weight 5 and Max Weight 5
Aug 25, 2014 7:57:32 AM FINER PrioritySorter.Queue.Sorter