Check the open issues list on that plugin.  It looks like jobs kicked off by 
hand (rather than scheduled automatically) ignore priority sorting.  Someone 
listed that as a feature there.  If you kicked off the priority 10 job by hand, 
or the job that gets ahead of you in the queue was kicked off by hand, that may 
be your problem.  If both were automatically scheduled, I don't know what it is.

--Rob

-----Original Message-----
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Adam Mercer
Sent: Tuesday, February 12, 2013 4:13 PM
To: jenkinsci-users@googlegroups.com
Subject: Priority Sorter Plugin

Hi

I'm using the Priority Sorter Plugin[1] as I'd like one project to use the next 
available build host regardless of the other jobs ahead of it in the queue. 
According to the documentation for the plugin:

"This plugin allows jobs waiting in the build queue to be sorted by a static 
priority rather than the standard FIFO. Each job is assigned a priority number 
and jobs with higher priorities are built first. Jobs with lower priorities 
will not run until an executor frees up which no higher-priority jobs in the 
build queue can use.

The default priority is 100. Jobs will be ordered in ascending order.
A priority of 50 comes before a priority of 100."

So for the job I'd like to "skip the queue", and build on the next available 
host, I assigned a priority of 10, but this seems to be ignored and jobs are 
assigned to build hosts in the order in which they appear in the queue.

Any idea why this priority is being ignored?

Cheers

Adam

[1] <https://wiki.jenkins-ci.org/display/JENKINS/Priority+Sorter+Plugin>

--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


The information in this message is for the intended recipient(s) only and may 
be the proprietary and/or confidential property of Litle & Co., LLC, and thus 
protected from disclosure. If you are not the intended recipient(s), or an 
employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any use, dissemination, distribution or 
copying of this communication is prohibited. If you have received this 
communication in error, please notify Litle & Co. immediately by replying to 
this message and then promptly deleting it and your reply permanently from your 
computer.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to