Auto-Update does not work with Azure DevOps
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62
**Related command**
az config set auto-upgrade.enable=yes
az config set auto-upgrade.prompt=no=yes
**Describe the bug**
When there is a new version to update to for Azure CLI, it will not auto-update and when Azure DevOps kicks off a pipeline, it will not complete the Azure CLI step in the pipeline until the Update has taken place, which it never will. It just sits there waiting for user interactive input, which never comes. Therefore the pipeline appears to be stuck, forever, waiting.
**To Reproduce**
Set Config on Azure CLI to auto update and prompt is "no".
Wait until a new version is available on Azure CLI. Once it is, kick off a Pipeline to the build server and watch it never complete.
**Expected behavior**
The auto-update should happen, when the pipeline is kicked off as I believe the auto update only happens once a pipeline is triggered.
**Environment summary**
CLI Version - this occurs with the latest version of Azure CLI. This is happening on Windows Server 2016 and 2019. This server is a Self Hosted Build Server for Azure DevOps.
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.