Here is the scenario: I have a simple build chain of two configurations, the first builds the package, the other one deploys it and runs integration tests. Now the VCS root monitors master branch and pull requests (refs/pull/*/merge
).
I would like it to work this way:
- if there's a pull request, only the first configuration is triggered (but not the dependent one)
- if there's a push to master, the whole chain runs
Is that possible to configure in TeamCity? Alternatively, is it possible through the REST API?