Skip to content

Demoing $ az pipelines CLI commands for Azure DevOps Services

Notifications You must be signed in to change notification settings

HoussemDellai/az-pipelines-cli-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

az-pipelines-cli-demo

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

About

Demoing $ az pipelines CLI commands for Azure DevOps Services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published