Reputation: 231
(Similar to: Is it possible to prevent a build chain from being interrupted in TeamCity?)
I have the following build chain:
So Proj A runs, then Projs B,C & D.
The problem is A may start before B, C or D finishes, resulting in the environment being rebuilt while tests are run against it.
Is there a way to tell TeamCity to complete the entire chain before it starts a new chain?
Things I've thought of:
Upvotes: 1
Views: 495
Reputation: 1652
Which version of TeamCity are you using? If using version 8.0 or higher, you could define a Shared Resource in projects B, C and D (they would be defined as using the resource in read mode), and define project A as using that resource in write mode with a resource quota of 1. That should prevent project A of running while any of the others are running.
Upvotes: 1