从Azure的REST api调用发布版本

问题描述 投票:0回答:1

我想调用Azure Devops从我的发布管道之一创建新版本。

我一直在寻找不同的调用,但是它要么用于创建管道,要么用于构建工件。

是否可以通过Azure API调用发布管道?

azure-devops azure-pipelines azure-pipelines-release-pipeline azure-devops-rest-api
1个回答
1
投票

我使用下一个端点:https://docs.microsoft.com/en-us/rest/api/azure/devops/build/Builds/Queue?view=azure-devops-rest-5.0&viewFallbackFrom=vsts-rest-4.1

我为端点使用了错误的主体。使用文档中的示例,它可以正常工作。

© www.soinside.com 2019 - 2024. All rights reserved.