How to trigger a build based on TFVC label in VSTS?

▼魔方 西西 提交于 2019-12-11 18:13:41

问题


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

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

Link here - Label in TFS


回答1:


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.

Tag in commit

Selecting Tag when queuing build

Getting the source by tag for build

Build done for tag

TFVC

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

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

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

Build done for Label



来源:https://stackoverflow.com/questions/48089673/how-to-trigger-a-build-based-on-tfvc-label-in-vsts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!