Closed DavidParks8 closed 6 years ago
Hi @DavidParks8 Thanks for the info, I'll have a look.
An example of how to use it can be found at https://github.com/Microsoft/vsts-tasks/blob/57cd7604cfea18cd7ca82cb20c6c6921f9785d6e/Tasks/DotNetCoreCLI/restorecommand.ts#L50
Thank you again. It's fixed with commit: https://github.com/jycouet/VSTSExtensions/commit/9924fdf2e36c97a5321ad873486a465f357f143e
There is already an option
Allow scripts to access OAuth token
in a build definition. That is the way that other tasks access protected resources (provided the build identity has the proper permissions). It seems unnecessary additional setup to have to generate a custom PAT.