Trigger build from multiple branches using TFS
Hello
I have asked a question on SO, and have not yet received a response, so I thought I would ask it here as well:
http://stackoverflow.com/questions/15429835/building-version-branches-in-tfs-with-teamcity
So the question is about how/if I can trigger the same build configuration from different branches in TFS, without having to create a buildconfiguration for each branch.
We typically create a branch when we release a version to production, and the keep working in the trunk. I would like to make the CI build run both when I make a change in the /trunk and in the /tags/2.5.0.1 folders, and of course it should check out the source from the corresponding folder. Is that possible?
Please sign in to leave a comment.
Morten,
I commented in the original posting.
Sorry, it seems this is not possible currently...
If there is a way to build off your branch, you can in theory have a parameter in the TFS VCS root and trigger a build on specific branch via custom run build dialog (manually or by submitting the dialog from a script).