huserben / TfsExtensions

Extensions for TFS 2015+ such as custom Widgets (require TFS 2017) and Build Tasks
MIT License
44 stars 22 forks source link

Added YAML example for Build trigger #135

Closed rfennell closed 4 years ago

rfennell commented 4 years ago

I am currently migrating some of my Azure DevOps Releases to Multistage YAML pipelines. It took me a while to get the YAML syntax for your build triggering extension to work within an Azure DevOps Deployment.

The problem I found in the end was you have to explicitly pass the $(System.AccessToken). Once this was done the task work perfectly.

I thought some YAML documentation might help, hence the PR

huserben commented 4 years ago

Hi @rfennell

yes I experienced the same with another task that was using the System.AccessToken.

Awesome thanks for documentation change.