Reputation: 16785
I have two different jobs.
These jobs could be started independently of each other.
But they work with the same object.
And I would like to have only one of these jobs running at the same time.
Is it possible to configure job in Hudson/Jenkins to do not run until some other jobs are running?
Upvotes: 0
Views: 202
Reputation: 27
point the job to run on a specific environment which limit the job to run simultaneously. with this the second job will be in the queue rather than running together
Upvotes: 0
Reputation: 1248
Use Build triggers - Build after other projects are built.
Use this trigger option to achieve your task.
Upvotes: 0
Reputation: 109232
Have a look at the locks and latches plugin. If I understood your question correctly, it does exactly what you want.
Upvotes: 1