I need to know the teamcity settings which prevents the re-trigger/trigger of outdated builds/jobs if the new builds are successful.
I am facing a issue where teamcity jobs can be re triggered even if the next builds are successful.And If the trigger event is fired before, then it must stop teamcity to run that job if the latest build is successful.
So I have to 2 jobs in TC for 1 branch -- Build-Precheck and the other is Build-compile
So I could see that Build-compile is just picking the latest available successful build from Build-Precheck and then queing up the next which may be the outdated build.
Build-Precheck is just taking 2 min to finish the builds , it quickly triggers the latest builds , I guess following the principal First In First Out Build-Precheck 06 Oct 14 14:33 - 14:35 (2m:01s) –7.1.4345 06 Oct 14 14:41 - 14:43 (2m:16s)- 7.1.4346 06 Oct 14 14:45 - 14:47 (2m:10s)- 7.1.4347 Build-compile 06 Oct 14 14:35 - 15:00 -7.1.0.4345 06 Oct 14 14:52 - 15:20 (28m:02s)- 7.1.4347 06 Oct 14 16:08 - 16:33 (24m:52s)- 7.1.4346
Is there any fix for this that TC runs incremental builds rather than outdated ones