Run pipeline
Start a pipeline run on a branch, with optional parameters and variables, optionally skipping some stages.
Command in the Azure DevOps toolkit · id ooa.azure_devops/run_pipeline · 8 inputs (4 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Organization address (URL) | String | Yes | Organization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server. | |
| Personal access token | Credential | Yes | Personal access token from the vault, with the scopes this action needs (e.g. Work Items read and write); a Microsoft Entra ID token works too. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Project | String | Yes | Project name, e.g. Finance Portal. | |
| Pipeline ID | Number | Yes | Pipeline id, from List pipelines. | |
| Branch | String | No | Branch to run on. Empty uses the pipeline's default branch. | |
| Parameters | Dictionary | No | Template parameters, e.g. {"environment": "test"}. | |
| Variables | Dictionary | No | Variables settable at queue time, e.g. {"releaseNote": "Hotfix"}. | |
| Stages to skip | List | No | Names of YAML stages not to run, as written after 'stage:' in the YAML, e.g. ["DeployProd"]. |
Outputs
| Output | Type | What it is |
|---|---|---|
| run_id | Number | Id of the new run; use it with Get pipeline run. |
| state | String | State right after starting, normally inProgress. |
| url | String | Web address of the run. |