Azure DevOps REST API - 获取任务组参数详细信息
我有一组 Azure DevOps 管道作业,它们使用多个共享任务组,但除此之外,每个作业还有自己的离散管道任务集和其他配置设置。
是否有一个 Azure DevOps REST API 命令可供我运行来为每个管道生成、管道任务列表(包括所使用的任务组的任务列表)及其配置设置(包括参数)?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
答案是肯定的。
您可以使用 Azure DevOps REST API 命令 az pipelines 构建定义显示:
其返回的是 Json 格式的内容,如:
如果你想自动列出所有管道信息,那么你可以考虑使用REST API:
定义 -获取
The answer is yes.
You could use the Azure DevOps REST API command az pipelines build definition show:
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:
Definitions - Get