Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Login
az login --service-principal \
--username "${SPNAPPID}" \
--password "${SPNSECRET}" \
--tenant "${TENANTID}"
# Add the cli extension
az extension add --name azure-devops
# Profit!
az pipelines variable-group create \
--name "$name" \
--authorize true \
--detect false \
--subscription "$AZSUB" \
--organization "$ADO_ORG" \
--project "$ADO_PROJECT" \
--variables "${arr[@]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment