Demoing $ az pipelines CLI commands for Azure DevOps Services Official documentation here: https://docs.microsoft.com/en-us/cli/azure/pipelines
Install the Azure DevOps CLI tool (based on Azure CLI):
az extension add --name azure-devops
Login to the Azure DevOps account:
az login
Setup the default organisation and project for the below commands (please change with your own parameters):
az devops configure --defaults organization="https://dev.azure.com/houssemdellai/" project="WebAppWithDatabaseDemo"
List pipelines within specified organisation and project:
az pipelines list -o table --org "https://dev.azure.com/houssemdellai/" --project "WebAppWithDatabaseDemo"
List pipelines from the default organisation and project:
az pipelines list
Format the output to a table format instead of JSON:
az pipelines list -o table
List variables from a specific pipeline (please change with your own parameter):
az pipelines variable list --pipeline-name "CI-Pipeline-MultiJobs"
List variable groups in JSON format:
az pipelines variable-group list
List variable groups in table format:
az pipelines variable-group list -o table
List variables within a specific variable group:
az pipelines variable-group variable list --group-id 6
List pipelines run history within the default organisation and project:
az pipelines runs list
List pipelines in table format:
az pipelines runs list -o table