如何在VSTS中触发基于TFVC标签的构建?

问题描述 投票:0回答:1

我一直在寻找这个,但一直找不到具体的东西。

有人可以帮助是否可以根据VSTS中的标签排队构建?

链接在这里 - Label in TFS

visual-studio tfs azure-devops tfvc
1个回答
4
投票

如果您使用的是Git版本控制,则可以使用如下所示的标记。 Git标签在Web界面和构建中得到了很好的支持。

在提交enter image description here中标记

排队时选择标记构建enter image description here

通过标记获取构建enter image description here的源代码

为标签enter image description here构建完成

TFVC

TFVC不支持Web界面的“代码”选项卡中的标签。但它在Visual Studio中受支持。

对TFVC标签中的代码进行排队,应该以L.enter image description here作为前缀

对于我的标签“TFVCSampleLabel”,构建排队如下所示enter image description here

为Label完成构建

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.