TFS Branches

Hi,

I recently set up TeamCity with our TFS.

I have currently set up a Root that contains all Build-Branches and added a checkout rule for each branch.
This way the builds are correctly executed but I can't get a reference to which branch I am on, which I need to set the Version Number to the correct value.

So my question is: Is there a way to use the TC's branch-support with TFS? Or some other way to get (part of) the branch-name?
At the moment it looks like I will have to create a Build Configuration for each Branch.

Thanks,
jacob

Please sign in to leave a comment.