Does teamcity have a notion of a mutex?

Hello,


We have a number of build configurations in team city and a subset of them deploy the build to a test environment and then run certain tests. For example:

  • Performance Test Configuration - Deploys the build to the Test environment and then run performance tests.
  • Redundancy Test Configuration - Deploys the build to the same Test environment and then runs redundancy tests.
  • Integration Test Configuration - Deploys the build to the same Test environment and then runs the integration tests.


We would like to run the performance test weekly, the redundancy tests nightly, and the integration tests on each change set.  This is simple to setup with the build triggers however all three use the same Test environment and can interfere with each other; at most, only one of these configurations should run at a time.

Is there a way to teach teamcity to only ever run one of a set of build configurations at a time?

Paul

1 comment
Comment actions Permalink

Hi Paul

It can be done with help of Groovy plugin.
We also have TW-3798 request in our tracker, you can vote for it.

Michael

0

Please sign in to leave a comment.