How to run different build scripts when triggers are different?


I got a question when implementing my TeamCity.

How do I trigger different build script when selecting different build trigger? For example, I want
1. When select "VCS trigger", it only runs unit test
2. When select "Scheduler", it runs all of the functional test.

Could this be done?


1 comment
Comment actions Permalink

It looks like you need two build configurations: one for unit tests and another for functional tests. In this case you will have consistent builds history (you will always know which tests are run in which build).

Pavel Sher


Please sign in to leave a comment.