|
|
|
Issue Type:
|
Improvement
|
Affects Versions:
|
current |
Assignee:
|
bklarson
|
Components:
|
prioritysorter |
Created:
|
02/Jan/13 9:07 PM
|
Description:
|
The class PrioritySorterQueueSorter just sorts Build jobs by their priority, while the default QueueSorter seems to order jobs in the order they are added to the queue. I believe that this order should remain when the priority is equal, because now installing the Priority Sorter plugin without actually using it is like installing a random build order plugin.
The fix should be very easy. Just use the default sort order in case the priorities of two jobs (as returned from the getPriority(BuildableItem buildable)-function in PrioritySorterQueueSorter) is equal, order by the date added to the queue. I would do it for myself, but just don't have a build environment set up for this.
|
Environment:
|
any
|
Project:
|
Jenkins
|
Priority:
|
Major
|
Reporter:
|
dmigowski
|
|
|
|
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
|