I have a build which is on TeamCity(TC) server ‘A’ and is setup with 3 VCS Git roots. Branch specification of these roots includes ‘master’ and ‘Integration’ branches. When a change is detected on an integration branch (e.g Int_123), as a part of build step it gets rebased and then through scripts invokes builds on TC server ’B’ and ‘C’ which are also polling the same VCS roots.
‘A’ needs to pass this branch information to ‘B’ and ‘C’. Apart from branch name what other git information should it pass so that ‘B’ and ‘C’ pick up the right VCS root since the branchName(Int_123) may not be unique among the roots.