← 返回命令列表

Linux command

az-pipelines 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

List all pipelines

az pipelines list --project [MyProject]

Show details

az pipelines show --name [MyPipeline] --project [MyProject]

Create a new pipeline

az pipelines create --name [MyPipeline] --repository [MyRepo] --branch [main] --yml-path [azure-pipelines.yml]

Run a pipeline

az pipelines run --name [MyPipeline] --project [MyProject]

Delete a pipeline

az pipelines delete --id [pipeline-id] --project [MyProject]

List pipeline runs

az pipelines runs list --pipeline-id [id] --project [MyProject]

Show details

az pipelines runs show --id [run-id] --project [MyProject]

说明

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.

FAQ

What is the az-pipelines command used for?

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.

How do I run a basic az-pipelines example?

Run `az pipelines list --project [MyProject]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more az-pipelines examples?

This page includes 7 examples for az-pipelines, plus related commands for nearby Linux tasks.