Secrets
accesstoken
- Your personal access token (PAT) from Azure DevOps.
Variables
org
- Your organization in Azure DevOps where your pipeline resides.project
- The project in Azure DevOps where your pipeline resides (i.e. must be inside the org).
Additional Configuration
In the SelectPipeline()
method, set each case
name and the id
used inside the case to call the TriggerPipeline(int)
method. For example:
case "<your app name>":
await TriggerPipeline(<the id of the pipeline that builds this application>);
break;
If you can't find your pipeline id, navigate to the pipeline in your browser and look at the URL. It should have a query parameter with something like: definitionId=xx
.
Known limitations:
- This only supports pipelines living in a single org/project currently.