I have a build (A) that has a dependency (B). Both A and B have their own git repos. When I trigger a build from A, B is also built. Life is good.
However, I have many feature branches in A's repo. Sometimes, these correspond to identically named branches in B's repo. What I would like is for the following:
--A build for branch cool-new-feature is triggered on A.
--Before dependency B is built, TeamCity checks to see if cool-new-feature is also a branch in B's repo. If yes, then build it; if not, build master (default).
Does anybody know if this is possible, and if so, how? Thanks!