Preventing jobs from executing

12 views
Skip to first unread message

Hector Magnanao

unread,
Apr 12, 2016, 2:51:34 PM4/12/16
to Jenkins Users
Is there a way in Jenkins to prevent jobs from executing if a another job that it is not dependent on is already running ?  I didn't see any options like that in the build section. in other words,  I want to hold a job from running while another job that it is not dependent on is already running.
I'm running Jenkins 1.625.2 on Windows Server 2008.

Victor Martinez

unread,
Apr 12, 2016, 3:02:03 PM4/12/16
to Jenkins Users

Maciej Jaros

unread,
May 2, 2016, 1:40:17 PM5/2/16
to jenkins...@googlegroups.com
Depending on your need you might also want to try:
https://wiki.jenkins-ci.org/display/JENKINS/Throttle+Concurrent+Builds+Plugin

This allows you to configure a category for each project and prevent executing jobs in that category to run in paralel (either globaly or on a single node).


Victor Martinez (2016-04-12 21:02):
Reply all
Reply to author
Forward
0 new messages