You might want to trigger a build for a team foundation version control (TFVC) Label applied previously or if you are using Git version control for a Tag. Git tags are quite nicely supported in TFS/VSTS web Interface, but Label in TFVC is still only manageable with the Source Control explorer of Visual Studio. There is a user voice request to enable web experience for TFVC Labels, which you can also vote for . Let’s explore how to trigger build based on Tag or Label with VSTS/TFS.
Git
If you are using Git version control you can use the tag as shown below.
Selecting Tag when queuing build
Getting the source by tag for build
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 the label "TFVCSampleLabel" a build is queued like shown below
No comments:
Post a Comment