mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 16:55:44 +02:00
az-pipelines: add page (#7186)
This commit is contained in:
parent
e4631681db
commit
833872c8e9
1 changed files with 33 additions and 0 deletions
33
pages/common/az-pipelines.md
Normal file
33
pages/common/az-pipelines.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# az pipelines
|
||||
|
||||
> Manage Azure Pipelines resources.
|
||||
> Part of `azure-cli`.
|
||||
> More information: <https://docs.microsoft.com/cli/azure/pipelines>.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue