...
Builds on change log graph
Branch parameters
For Git & Mercurial TeamCity provides additional build parameters with names of VCS branches known on the moment of build starting. If build took a revision from branch refs/heads/bugfix
TeamCity will add configuration parameter with name:
teamcity.build.vcs.branch.<simplified root name>