Building depencency graph in specific set of branches

The situation is as follows: we have several projects that depend on each other, and have the same branch structure; for example, project A depends on projects B and C, and each repo has branches feature/foo. We want to build the entire set of feature/foo products.

Obviously, in project A, to build the feature/foo branch, we need to build the snapshots of B's feature/foo and C's feature/foo. How can I do that in TeamCity - i.e. how can I specify that I want the entire snapshot dependency chain to be built in feature/foo?

1 comment
Comment actions Permalink


If you use Feature Branches then snapshot dependencies work as you described "by design". If a build configuration with branches has snapshot dependencies on other build configurations, when a build in a branch is triggered, the other builds in the chain also get the branch associated. For more detailes please read the related doc section.


Please sign in to leave a comment.