[英]How to run build/release pipeline using Azure DevOps REST API
I'm trying to run new build pipeline through azure alert webhook.我正在尝试通过 azure alert webhook 运行新的构建管道。 I'm looking for Azure DevOps REST API for this action.我正在为此操作寻找 Azure DevOps REST API。 I didn't get the proper examples for running the pipeline using REST API.我没有得到使用 REST API 运行管道的正确示例。
As per Azure Documentation , you dont have any rest api to trigger a azure devops build.根据Azure 文档,您没有任何 rest api 来触发 azure devops 构建。 By using rest api you can perform the below azure devops build operations only.通过使用 rest api,您只能执行以下 azure devops 构建操作。
Assuming by trigger you mean you want to start a build, try the Queue API call listed in VenkateshDodda-MT's answer.假设通过触发器您的意思是您要开始构建,请尝试在 VenkateshDodda-MT 的回答中列出的队列 API 调用。 It queus a new build.它排队一个新的构建。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.