LinuxCommandLibrary

az-pipelines

Manage Azure DevOps CI/CD pipelines

TLDR

List all pipelines in a project

$ az pipelines list --project [MyProject]
copy
Show details of a pipeline
$ az pipelines show --name [MyPipeline] --project [MyProject]
copy
Create a new pipeline
$ az pipelines create --name [MyPipeline] --repository [MyRepo] --branch [main] --yml-path [azure-pipelines.yml]
copy
Run a pipeline
$ az pipelines run --name [MyPipeline] --project [MyProject]
copy
Delete a pipeline
$ az pipelines delete --id [pipeline-id] --project [MyProject]
copy
List pipeline runs
$ az pipelines runs list --pipeline-id [id] --project [MyProject]
copy
Show details of a pipeline run
$ az pipelines runs show --id [run-id] --project [MyProject]
copy

SYNOPSIS

az pipelines subcommand [options]

DESCRIPTION

az pipelines manages Azure Pipelines, the CI/CD service in Azure DevOps. It provides commands to create, run, and manage build and release pipelines, as well as agents, pools, and variables.
This is part of the Azure DevOps CLI extension and works with Azure DevOps Services.

SUBCOMMANDS

list

List pipelines.
show
Show pipeline details.
create
Create a pipeline.
delete
Delete a pipeline.
run
Queue a pipeline run.
update
Update a pipeline.
runs list
List pipeline runs.
runs show
Show details of a pipeline run.
variable
Manage pipeline variables.
variable-group
Manage variable groups.
folder
Manage pipeline folders.
agent
Manage pipeline agents.
pool
Manage agent pools.
queue
Manage agent queues.

CAVEATS

Requires the Azure DevOps CLI extension (az extension add --name azure-devops). Only works with Azure DevOps Services, not Azure DevOps Server. Configure defaults with az devops configure.

SEE ALSO

az-devops(1), az-repos(1), az(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community