Azure / Azure/azure-cli-extensions

"az pipelines build definition list" not working from DevOps

Open
#2,372 2 comments 0 reactions 0 assignees View on GitHub
DevOps Pipelines Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

When running `az pipelines build definition list` from the Cloud Shell, it seems to return the same information as `az pipelines list`. I assume it should be like this, but if there's a difference between the two commands, it should be elaborated in the documentation.

However, when running the two command from a DevOps pipeline powershell script on ubuntu-latest, `az pipelines build definition list` return only a few results, while `az pipelines list` seems to result all the results.

[example.yaml.txt](https://github.com/Azure/azure-cli-extensions/files/5226054/example.yaml.txt)

[Enter feedback here]

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: b7077ac1-bb22-976f-77f3-9a40cfcbce81
* Version Independent ID: b3841ca2-43a1-1438-7907-0240d06b7502
* Content: [az pipelines build](https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/pipelines/build?view=azure-cli-latest#ext_azure_devops_az_pipelines_build_list)
* Content Source: [latest/docs-ref-autogen/ext/azure-devops/pipelines/build.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/latest/docs-ref-autogen/ext/azure-devops/pipelines/build.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.