nerlijma
nerlijma

Reputation: 975

TFS 2015 Build Definition source version

When queuing a new build I want to specify a label, as says in the Tooltip (see image below) like:

LMain_TestProject_1.01.002

However, that does not work, I have to put it with this format: LMain_TestProject_1.01.002@$/TestProject

What I have to do to only specify the source version as: LMain_TestProject_1.01.002 ??

Thanks!

enter image description here

Upvotes: 1

Views: 1463

Answers (1)

Eddie Chen - MSFT
Eddie Chen - MSFT

Reputation: 29958

This is usually because the label you created is project-scoped, not collection-scoped. In this scenario, you need to add "@/ProjectName".

Usually, when you create a label from VS, you should see the seting like following: enter image description here

With this setting, the label is project-scoped. You need to enter "LTestLable@/EddieLabel" when queue build.

More information for your reference: Label scope revealed.

Upvotes: 1

Related Questions