jimhaMJ / vsts-tfs-trigger-build

Trigger a new Build in the same or in other project.
MIT License
1 stars 0 forks source link

OAUTH token would be great #2

Open cjam opened 7 years ago

cjam commented 7 years ago

In many of the extensions that I've made, I use the OAUTH token that can be made available to build scripts. It is available within the environment variables at SYSTEM_ACCESSTOKEN as long as the user has enabled providing the OAUTH token within their build. The advantage of this is that the PAT have an expiry which will likely lead to broken builds once the token expires. Would be sweet if there was an option to use the OAUTH token.

Nice extension.