Funny . . . and thread on this from someone else just finished up. The answers to your questions are Yes and Yes.
Frank From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mandeville, Rob Sent: Wednesday, February 13, 2013 4:48 AM To: jenkinsci-users@googlegroups.com Subject: Priority Sorter - High or Low? I'm using the priority sorter plugin, and getting confused. The page for the plugin at https://wiki.jenkins-ci.org/display/JENKINS/Priority+Sorter+Plugin says that "A priority of 50 comes before a priority of 100", so a lower priority number is a higher priority. When I look at the source, PrioritySorterQueueSorter.java runs the compare in reverse order, complete with a comment stating "Note that we sort these backwards because we want to return higher-numbered items first". When I tried launching jobs of different priorities from the Web UI, they ran in launch order, apparently ignoring the priority sorter plugin. When I ran a build that launches sub-builds of different priorities via "trigger parameterized builds on other projects", they got launched but required a label that was completely in uses, so they got queued. The four jobs with priority 100 launched before the one with priority 90. Am I correct in assuming that, if two jobs are waiting on an executor on a node or label, the one with the higher priority number will get in first? And if that is the case, should somebody edit the wiki for the plugin? Thanks in advance, --Rob 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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. -- 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.