0
I am useing TFS 2017 on-prem.
I received a request to add label to specific path if the build success.
I added "Command Line" Task and run the command:
TF.exe vc label "New-Label" $/My-System/Version/Project
I got an error:
[error]TF30063: You are not authorized to access
When this command running from console it work even from the build machine, but failed when it executed during build process.
Also try to run tf with loginType & login parameters, batch file or from PowerShell Task without success
** The option "Label Source" in "Get Sources" task is not relevant becuse I want to add the label to just one path from the list of paths in "Workspace mappings"
Thanks for the quick response. – CodeOnce – 2019-04-18T08:26:52.837