amalms
amalms

Reputation: 23

Jenkins plugin to queue the jobs

I need to 2 jobs (JobA and JobB) in Jenkins. If JobA is in run. If I try to run the JobB or again run the JobA while first job is in run state, I want the new jobs to go in a queued state for run.

Which plugin can I use in Jenkins to queue the jobs?

Upvotes: 0

Views: 1090

Answers (1)

SmartTom
SmartTom

Reputation: 821

You need two plugins to achieve what you want :

  1. Throttle Concurrent Builds Plugin: to block a build of JobA if one is already running
  2. Build Blocker Plugin: to block a build of JobB if a build of JobA is already running

Upvotes: 2

Related Questions