问题
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