Azure DevOps Task for installing the Azure Developer CLI (azd
)
This Azure DevOps task allows you to provision resources and deploy your application on Azure with Azure Developer CLI commands.
The task installs the Azure Developer CLI on a user-defined Azure Developer CLI version. If the user does not specify a version, latest CLI version is used. Read more about various Azure Developer CLI versions here.
version
– Optional Example: 1.0.1, Default: set to latest azd cli version.
Sample pipeline install latest azd
version
trigger:
- main
- branch
pool:
vmImage: ubuntu-latest
# vmImage: windows-latest
steps:
- task: setup-azd@0
displayName: Install azd
Sample pipeline install a specific azd
version
Select a specific azd
version here and use it in version
.
trigger:
- main
- branch
pool:
vmImage: ubuntu-latest
# vmImage: windows-latest
steps:
- task: setup-azd@0
inputs:
version: '1.0.2'
displayName: Install azd
Getting help for Azure Developer CLI issues
If you encounter an issue related to the Azure Developer CLI commands executed in your script, you can file an issue directly on the Azure Developer CLI repository.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.