How can I override the <default> branch name in TeamCity 7.1 using Git branching support?
问题 I've got a CI build pulling feature branches from Github and building/packaging them into a local folder, using a folder naming convention based on the project, branch and build number. For named branches (feature1, feature2) this is working great. The problem is that when I do a commit to the master, TeamCity exposes teamcity.build.branch as <default> - which means when the build step expands E:\Packages\MyProject\%teamcity.build.branch%\ it's ending up with E:\Packages\MyProject\<default> -