So I've got 2 jobs build test What I want to be able to do is make sure that they always run in this order and that text blocks build from running and build blocks test from running. I was able to accomplish that using the Locks and Latches plugin. The problem I'm running into is this...
If I start a build (build 1) and then I queue another build (build 2) both of these complete before test is executed. The behavior I want if for build 1 to complete and test to run, then build 2 is run and test is run again. I tried playing around with the quiet period for build, but that seems to be counted when the job is in the queue not just after it's about to start. I could combine the two jobs... but I'd like to be able to continue to execute these independently when I need since I might want to fix tests and run them against the same build repeatedly. Thanks in advance, Ben