'Azure DevOps REST API - Get Task Group Parameter Details
I have a collection of Azure DevOps pipeline jobs that consume a number of shared Task Groups, but in addition, each also has its own discrete set of pipeline Tasks and other configuration settings.
Is there an Azure DevOps REST API command that I can run to generate for each Pipeline, the list of pipeline tasks (including those of the consumed Task Groups) and their configuration settings, including parameters?
Solution 1:[1]
Is there an Azure DevOps REST API command that I can run to generate for each Pipeline, the list of pipeline tasks (including those of the consumed Task Groups) and their configuration settings, including parameters?
The answer is yes.
You could use the Azure DevOps REST API command az pipelines build definition show:
az pipelines build definition show [--detect {false, true}]
[--id]
[--name]
[--open]
[--org]
[--project]
[--subscription]
Its return is a Json formatted content, like:
If you want to automatically list all the pipeline information, then you can consider using the REST API:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Leo Liu-MSFT |

