Teamcity snapshot dependency:how to prevent running the build which is already passed

Here's the scenario: I have a TeamCity "master" build that aggregates the results of other 11 builds. I'm using snapshot dependencies. This works fine in normal scenario.But in case, any of the dependent sub build fails and master build is triggered again then all 11 dependent builds get triggered.I want only failed build to be triggered not all. Is there any way to achieve this??

1 comment
Comment actions Permalink


If you use snapshot dependencies and check option "Do not run new build if there is a suitable one" then only failed builds will rerun. Suitable means that revision of the sources is the same or taken at the same time if the VCS roots are different.
If you do not need to run builds on the same revision, but need to use results, artifact dependency is more suitable in your case.


Please sign in to leave a comment.