Please add Azure DevOps Pipeline Release Status CLI
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
az pipelines release
**Is your feature request related to a problem? Please describe.**
am triggering a release through az pipelines release create CLI and I want to poll for the release status. This will help in updating the release status at remote
**Describe the solution you'd like**
az pipelines build list --status or az pipelines runs list which is already have a way to check the running build status. In a similar way, there must be an arguement to track the release status.
**Describe alternatives you've considered**
There is no direct way of doing it but for now, I can do it with below commands
`az pipelines release definition show --id --query environments[0].currentRelease.url -o tsv
Above cmd will give Job URL like https://vsrm.dev.azure.com///_apis/Release/releases/
To access the above URL, we need to authenticate with az devops PAT
auth=$(echo -n "pat:" | base64)
wget "https://vsrm.dev.azure.com///_apis/Release/releases/" --header "Authorization: Basic $auth" -q -O - | jq -r .environments[].status`
**Additional context**
Not Applicable
Contributor guide
Assessment
This issue has not been assessed yet.