TFS 2015发布管理 - 在TFVC中自动创建发布分支

时间:2017-11-29 20:45:39

标签: tfs2015 release-management tfvc

TFS 2015 Release Management中是否有任务会在成功创建发布后自动在TFVC中创建新的发布分支?

我尝试使用与此类似的分支策略,其中发布分支可用于修补程序:https://docs.microsoft.com/en-us/vsts/tfvc/branch-strategically#how-does-the-team-manage-releases-from-the-version-control-perspective

2 个答案:

答案 0 :(得分:2)

您可以使用命令提示符并使用以下tf.exe命令。完成所有步骤后,命令提示符将创建一个新分支。

分支olditem newitem [/ version:versionspec] [/ noget] [/ lock :( none | checkin | checkout)] [/ noprompt] [/ silent] [/ checkin] [/ comment :(“comment”| @commentfile)] [/ author:authorname] [/ login:username,[password]]

有关详细信息,请参阅下文 https://docs.microsoft.com/en-us/vsts/tfvc/branch-command

答案 1 :(得分:0)

没有。您的构建可以成功标记TFVC源;如果您需要修补,您只需从该标签创建一个分支。在您真正需要之前,无需创建服务分支。

相关问题