1. Did you restart Jenkins after installing the plugin (if not, do it now) 2. Does the job have a restriction? Like to "linux" or a specific hostname?
The priority module won't force a job to run on a host it wouldn't be allowed to run on without priority. Finally, I'm not sure what "comes before" means . . . I actually looked it up on the Plugin site to make sure you hadn't made it up. (You didn't.) All I know if that I use the text from the blue "?" which says: The priority for this job. Priorities are used when all executors are busy to decide which job in the build queue to run next. A job with higher priority is ran before jobs with lower priorities. So the job you want to run first should be 200 . . . not 50. (You'll find the blue-? Next to the field where you put in the priority (far right). Frank -----Original Message----- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Adam Mercer Sent: Tuesday, February 12, 2013 1: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<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.