choco install azure-cli -version=2.1.0 -forceīut, this installation command still fails due to the existence of a latest version package.Īlternatively, you could set up private agent to build your project, and install the old version azure-cli by the choco package. Then I test it by the chocolatey package: Since I do not have the old version url, I could not test if it works with python command to install the old version az ci when there is a latest version already installed. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. This command line only install the latest version of az cli. A tag already exists with the provided branch name. Python commands: pip install -pre azure-cli -extra-index-url From Azure Ibiza portal, browse to your VM and add Custom Script Extension by providing the saved script as input. values.yaml - contains all the variable names for the whoami app, together with the default values Install a new release from the same whoami chart, called whoami-custom. Now create a VM and add the script for remote execution. Any field in the values file can be overridden when you install or upgrade a release, using the set flag with the Helm CLI. Neither can I install an old version in an agent that already has the latest version az cli, either through python commands or chocolate packages: The first command installs Chocolatey on the VM and the second one installs Azure PowerShell cmdlets. To resolve the error, please try to run the task again with the option " Fail on Standard Error" unchecked:īesides, I am afraid there is no such out of box way to set up concrete version of az cli. How to set up az cli concrete version in Azure DevOps
0 Comments
Leave a Reply. |