Files

19 lines
744 B
Bash
Raw Permalink Normal View History

2020-10-07 13:49:40 +05:00
#!/bin/bash -e
################################################################################
2023-11-22 21:49:23 +01:00
## File: install-azure-devops-cli.sh
## Desc: Install Azure DevOps CLI (az devops)
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/etc-environment.sh
2020-02-21 13:49:25 +03:00
# AZURE_EXTENSION_DIR shell variable defines where modules are installed
# https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview
export AZURE_EXTENSION_DIR=/opt/az/azcliextensions
2023-12-26 12:50:52 +01:00
set_etc_environment_variable "AZURE_EXTENSION_DIR" "${AZURE_EXTENSION_DIR}"
2020-02-21 13:49:25 +03:00
# install azure devops Cli extension
az extension add -n azure-devops
2023-11-22 21:49:23 +01:00
invoke_tests "CLI.Tools" "Azure DevOps CLI"