CmdID

CmdID / Commands

az-pipelines

Manage Azure Pipelines resources. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Manage Azure Pipelines resources. Part of azure-cli (also known as az).

Create a new Azure Pipeline (YAML based)

az pipelines create --organization organization_url --project project_name --name pipeline_name --description description --repository repository_name --branch branch_nameIdentify
--nameName of the new pipeline Azure CLI extensions reference
--descriptionDescription for the new pipeline Azure CLI extensions reference
--repositoryRepository for which the pipeline needs to be configured. Azure CLI extensions reference
--branchBranch name for which the pipeline will be configured. Azure CLI extensions reference

Delete a specific pipeline

az pipelines delete --organization organization_url --project project_name --id pipeline_idIdentify
--idID of the pipeline. Azure CLI extensions reference

List pipelines

az pipelines list --organization organization_url --project project_nameIdentify

Enqueue a specific pipeline to run

az pipelines run --organization organization_url --project project_name --name pipeline_nameIdentify
--nameName of the pipeline to queue. Azure CLI extensions reference

Get the details of a specific pipeline

az pipelines show --organization organization_url --project project_name --name pipeline_nameIdentify
--nameName of the pipeline. Azure CLI extensions reference

Update a specific pipeline

az pipelines update --organization organization_url --project project_name --name pipeline_name --new-name pipeline_new_name --new-folder-path user1/production_pipelinesIdentify
--new-nameNew updated name of the pipeline. Azure CLI extensions reference
--new-folder-pathNew full path of the folder to move the pipeline to. Azure CLI extensions reference

List all agents in a pool

az pipelines agent list --organization organization_url --pool-id agent_poolIdentify
--pool-idThe agent pool containing the agents. Azure CLI extensions reference