From 833872c8e9802c144aaf97e52181b3a4ed63396e Mon Sep 17 00:00:00 2001 From: Giorgio Lasala Date: Thu, 4 Nov 2021 08:19:26 +0100 Subject: [PATCH] az-pipelines: add page (#7186) --- pages/common/az-pipelines.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pages/common/az-pipelines.md diff --git a/pages/common/az-pipelines.md b/pages/common/az-pipelines.md new file mode 100644 index 0000000000..a917b8c177 --- /dev/null +++ b/pages/common/az-pipelines.md @@ -0,0 +1,33 @@ +# az pipelines + +> Manage Azure Pipelines resources. +> Part of `azure-cli`. +> More information: . + +- Create a new Azure Pipeline (YAML based): + +`az pipelines create --org {{organization_url}} --project {{project_name}} --name {{pipeline_name}} --description {{description}} --repository {{repository_name}} --branch {{branch_name}}` + +- Delete a specific pipeline: + +`az pipelines delete --org {{organization_url}} --project {{project_name}} --id {{pipeline_id}}` + +- List pipelines: + +`az pipelines list --org {{organization_url}} --project {{project_name}}` + +- Enqueue a specific pipeline to run: + +`az pipelines run --org {{organization_url}} --project {{project_name}} --name {{pipeline_name}}` + +- Get the details of a specific pipeline: + +`az pipelines show --org {{organization_url}} --project {{project_name}} --name {{pipeline_name}}` + +- Update a specific pipeline: + +`az pipelines update --org {{organization_url}} --project {{project_name}} --name {{pipeline_name}} --new-name {{pipeline_new_name}} --new-folder-path {{user1/production_pipelines}}` + +- Get a list of agents in a pool: + +`az pipelines agent list --org {{organization_url}} --pool-id {{agent_pool}}`