Reputation: 500
I'm looking for a Jenkins plugin that allows you to manually manipulate the build queue. The use cases are:
While searching for this I have found the following plugin https://wiki.jenkins-ci.org/display/JENKINS/Priority+Sorter+Plugin but do not believe it will meet our needs since I do not know in advance which builds I want to give priority to.
Really I'm looking for a plugin that gives you the functionality to click and drag builds in the queue, like on TeamCity.
Upvotes: 6
Views: 4444
Reputation: 2312
The Accelerated Build Now plugin does this job. It will even cancel running jobs if no processor on any node is free.
Upvotes: 2
Reputation: 4319
For what it's worth, I haven't found practical plugins for this general problem. Instead, I have a setup where there is a (small) dedicated node that is normally sitting offline and unused. By playing with ad-hoc node labels that target the particular job I want to run, I can make that job jump to this node when I want it to jump the queue. The key is in preparing the jobs templates to include a job-specific label, for instance, e.g.:
# \/ normal requirements \/ \/ manual overridde \/
(linux && !offline && gradle) || <jobname>
where <jobname> is the job-specific label that is activated on the standby node, as needed. YMMV.
Upvotes: 0