I am using TC 7.1.5 and we have different build configurations for different branches in our git repo.
For example, the Master Check In Configuration listens for changes in the Master branch and builds the project with the "default" configuration. The Staging Configuration listens for changes in the Staging branch, builds the project with the "staging" configuration and deploys it to our staging server.
To accomplish this, I have had to create seperate VCS Roots for each branch.
I am about to create a new project and before I create multiple VCS Roots where the only difference is the branch name, I noticed the branch sepecification in the VCS Root page. Trying to figure out how to use this I came across this blog entry http://blogs.jetbrains.com/teamcity/2013/03/01/teamcity-feature-branches/ and the documentation of feature branches http://confluence.jetbrains.com/display/TCD7/Working+with+Feature+Branches.
So my question is, can I have a specific build configuration for a specific branch using the branch specifications instead of having to create multiple VCS Roots?
The documentation states
VCS trigger is fully aware of branches and will trigger build once a check-in is detected in a branch. All VCS trigger options like, per-checkin triggering, quiet period, triggering rules are directly available for builds from branches.
But if my project has multiple configuations, which one does it trigger?