Jenkins: Only start build when previous finished
<p>so I have a Jenkins running with a slave. For this slave I have a scheduler which schedules jobs once per day. </p>

<p>Sometimes the scheduler doesn't finish after 24 hours, which is fine. The environment is very unique and sometimes this happens. </p>

<p>The problem here is that the scheduler will schedule the jobs after 24 hours - no matter what. What I have then is a scheduler still running on the slave and the same scheduler is scheduled a second time and waiting till the previous one is done. Adding things up the slave will never be free. </p>

<p>What I want is a scheduling option which says "schedule this scheduler on the slave. If this scheduler is still running on this slave - nevermind, forget it and lets see how things will be in 24 hours." </p>

<p>Anybody got a solution to this? </p>

<p>Thanks for help!</p>

<p>PS: It's a Windows server. </p>