Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i automate the branch/new team build process in TFS

Tags:

.net

msbuild

tfs

We make a release branch from trunk at the end of each sprint.

This is a manual job; we branch the src and manually edit the build config.

This has proved to be an error prone process. Is it possible to automate it in TFS?

like image 789
Arneeiri Avatar asked Dec 06 '25 14:12

Arneeiri


1 Answers

Yes, you can automate in TFS using the .NET API. This give you access to the VersionControlServer object for branching along with the IBuildServer object for modifying your build definitions.

The following question might be useful when it comes to performing the branch in code.

How to create a new source code branch using TFS API?

like image 125
Martin Woodward Avatar answered Dec 08 '25 11:12

Martin Woodward



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!