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

az pipelines runs artifact

Manage pipeline run artifacts.

az pipelines runs artifact download

Download a pipeline artifact.

az pipelines runs artifact list

List artifacts associated with a run.

az pipelines runs artifact upload

Upload a pipeline artifact.

az pipelines runs list

List the pipeline runs in a project.

az pipelines runs show

Show details of a pipeline run.

az pipelines runs tag

Manage pipeline run tags.

az pipelines runs tag add

Add tag(s) for a pipeline run.

az pipelines runs tag delete

Delete a pipeline run tag.

az pipelines runs tag list

Get tags for a pipeline run.

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.

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.