Performs actions in Azure DevOps.
accesstoken- Your personal access token (PAT) from Azure DevOps.
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).
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:
- This only supports pipelines living in a single org/project currently.
@az pipeline app1 - Triggers the pipeline for app1
Provides the ability to trigger pipelines in Azure DevOps.