Azure / Azure/azure-devops-cli-extension

az pipelines variable delete does not work with --pipeline-name argument

Open
#1,323 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug
the bug described in issue https://github.com/Azure/azure-devops-cli-extension/issues/1043 is still present. Doesnot seem to be updated in mentioned issue, therefor (re)opening here.
I can confirm that the --pipeline-name still doesnot work, but the --pipeline-id does work. Please update the command to not accept the --pipeline-name argument and update help and documentation. Or (prefereable) solve the bug.
**Command Name**
`az pipelines variable delete
Extension Name: azure-devops. Version: 0.25.0.`

**Errors:**
```
There were no build definitions matching name "xxxx" in project "xxxx".

```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az pipelines variable delete --name {} --organization {} --project {} --pipeline-name {} --yes`

## Expected Behavior

## Environment Summary
```
Windows-10-10.0.19045-SP0
Python 3.10.8
Installer: MSI

azure-cli 2.43.0

Extensions:
account 0.2.5
azure-devops 0.25.0

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1
```
## 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.