Skip to content

Instantly share code, notes, and snippets.

@ovitente
Last active October 11, 2021 14:19
Show Gist options
  • Save ovitente/94acaa97a3f4308419f53550d32edf26 to your computer and use it in GitHub Desktop.
Save ovitente/94acaa97a3f4308419f53550d32edf26 to your computer and use it in GitHub Desktop.
az pipeline run
az devops login --organization=https://dev.azure.com/YOUR_ORG/
az devops project list
az pipelines list --detect --org=https://dev.azure.com/YOUR_ORG/ --project=YOUR_AZURE_DEVOPS_PROJECT
az pipelines run --branch $(git rev-parse --abbrev-ref HEAD) --detect --org=https://dev.azure.com/YOUR_ORG/ --project=YOUR_AZURE_DEVOPS_PROJECT --name=YOUR_PIPELINE_NAME
# It will execute pipeline from your current active branch in the terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment