Azure / Azure/azure-cli

Adding enable/disable azure pipeline options in `az pipeline update`

Open
#27,568 4 comments 12 reactions 0 assignees View on GitHub
act-platform-engineering-squad Auto-Assign DevOps Pipelines Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**
[az pipelines update](https://learn.microsoft.com/en-us/cli/azure/pipelines?view=azure-cli-latest#az-pipelines-update(azure-devops))

**Is your feature request related to a problem? Please describe.**
I'd like there is a command that I can enable or disable a pipeline run.
Now I have to click the devops page to the pipeline and click the trigger --> enable/disable --> save. We have a lot of pipelines; it is dirty work to click one by one. Now we have to do this. Although there is rest api, but I need to fill in a lot of unchanged properties.

**Describe the solution you'd like**
az pipelines update --enable true/false

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.