Jaa


az pipelines runs

Note

This reference is part of the azure-devops extension for the Azure CLI (version 2.30.0 or higher). The extension will automatically install the first time you run an az pipelines runs command. Learn more about extensions.

Manage pipeline runs.

Commands

Name Description Type Status
az pipelines runs artifact

Manage pipeline run artifacts.

Extension GA
az pipelines runs artifact download

Download a pipeline artifact.

Extension GA
az pipelines runs artifact list

List artifacts associated with a run.

Extension GA
az pipelines runs artifact upload

Upload a pipeline artifact.

Extension GA
az pipelines runs list

List the pipeline runs in a project.

Extension GA
az pipelines runs show

Show details of a pipeline run.

Extension GA
az pipelines runs tag

Manage pipeline run tags.

Extension GA
az pipelines runs tag add

Add tag(s) for a pipeline run.

Extension GA
az pipelines runs tag delete

Delete a pipeline run tag.

Extension GA
az pipelines runs tag list

Get tags for a pipeline run.

Extension GA

az pipelines runs list

List the pipeline runs in a project.

az pipelines runs list [--branch]
                       [--detect {false, true}]
                       [--org]
                       [--pipeline-ids]
                       [--project]
                       [--query-order {FinishTimeAsc, FinishTimeDesc, QueueTimeAsc, QueueTimeDesc, StartTimeAsc, StartTimeDesc}]
                       [--reason {all, batchedCI, buildCompletion, checkInShelveset, individualCI, manual, pullRequest, schedule, triggered, userCreated, validateShelveset}]
                       [--requested-for]
                       [--result {canceled, failed, none, partiallySucceeded, succeeded}]
                       [--status {all, cancelling, completed, inProgress, none, notStarted, postponed}]
                       [--tags]
                       [--top]

Optional Parameters

--branch

Filter by builds for this branch.

--detect

Automatically detect organization.

Accepted values: false, true
--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.

--pipeline-ids

IDs (space separated) of definitions to list builds for. For multiple pipeline ids: --pipeline-ids 1 2.

--project -p

Name or ID of the project. You can configure the default project using az devops configure -d project=NAME_OR_ID. Required if not configured as default or picked up via git config.

--query-order

Order of pipeline runs.

Accepted values: FinishTimeAsc, FinishTimeDesc, QueueTimeAsc, QueueTimeDesc, StartTimeAsc, StartTimeDesc
--reason

Limit to builds with this reason.

Accepted values: all, batchedCI, buildCompletion, checkInShelveset, individualCI, manual, pullRequest, schedule, triggered, userCreated, validateShelveset
--requested-for

Limit to builds requested for this user or group.

--result

Limit to builds with this result.

Accepted values: canceled, failed, none, partiallySucceeded, succeeded
--status

Limit to builds with this status.

Accepted values: all, cancelling, completed, inProgress, none, notStarted, postponed
--tags

Limit to builds with each of the specified tags. Space separated.

--top

Maximum number of builds to list.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az pipelines runs show

Show details of a pipeline run.

az pipelines runs show --id
                       [--detect {false, true}]
                       [--open]
                       [--org]
                       [--project]

Required Parameters

--id

ID of the pipeline run.

Optional Parameters

--detect

Automatically detect organization.

Accepted values: false, true
--open

Open the build results page in your web browser.

Default value: False
--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.

--project -p

Name or ID of the project. You can configure the default project using az devops configure -d project=NAME_OR_ID. Required if not configured as default or picked up via git config.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.