如何在VSTS中触发基于TFVC标签的构建? [英] How to trigger a build based on TFVC label in VSTS?

查看:89
本文介绍了如何在VSTS中触发基于TFVC标签的构建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在搜索,但无法找到具体的东西.

I've been searching for this but have not been able to find something concrete.

有人可以帮忙,是否有可能在VSTS中基于标签对构建进行排队?

Could someone please help whether it's possible to queue a build based on label in VSTS?

在此处链接-标记为TFS

推荐答案

Git

如果您使用的是Git版本控制,则可以使用如下所示的标签. Web界面和内部版本都很好地支持Git标签.

If you are using Git version control you can use the tag as shown below. Git tags are quite nicely supported in web interface and builds.

提交中的标签

在排队构建时选择标签

Selecting Tag when queuing build

通过标记获取源代码以进行构建

Getting the source by tag for build

标记已完成构建

TFVC

TFVC不支持Web界面的代码"选项卡中的标签.但是在Visual Studio中受支持.

TFVC is not supporting label in Code tab of web interface. But it is supported in Visual Studio.

在TFVC标签中对代码的构建进行排队时,应以L为前缀.

Queuing a build for code in TFVC label should be prefixed by L.

对于我的标签"TFVCSampleLabel",构建队列如下所示

For my label "TFVCSampleLabel" a build is queued like shown below

为标签完成构建

这篇关于如何在VSTS中触发基于TFVC标签的构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆