Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins: manually adjust job execution order in queue

Tags:

queue

jenkins

Is there any Jenkins plugin providing possibility to adjust job execution sequence in queue?

Thanks.

like image 442
Skywolf Avatar asked Apr 10 '14 11:04

Skywolf


People also ask

How do I arrange jobs in Jenkins?

Add a Schedule to a Jenkins JobHead back to the job configuration and click the Build Triggers tab. Now, check the Build periodically box in the Build Triggers section. This will open the scheduling text area. Next, let's set the job to run every five minutes.

How do I run sequentially in Jenkins?

Many 'phases' can be set up as part of the MultiJob project and each phase "contains" one or more "other" Jenkins jobs. When the MultiJob project is run, the phases will be run sequentially. Therefore, in order to run N jobs sequentially, add N phases to your MultiJob project, and then add one job to each phase.


1 Answers

Even if it's late but if somebody else came across:

See this plugin:

  • https://wiki.jenkins-ci.org/display/JENKINS/Accelerated+Build+Now+Plugin
  • You can not tell an order but bring your manually started job to the top of the queue.

Not meeting your question 100% but there is also an issue filed to bring your job to the top of the queue:

  • See also: https://issues.jenkins-ci.org/browse/JENKINS-1878
like image 115
timguy Avatar answered Oct 02 '22 11:10

timguy