简体   繁体   中英

How to run build/release pipeline using Azure DevOps REST API

I'm trying to run new build pipeline through azure alert webhook. I'm looking for Azure DevOps REST API for this action. I didn't get the proper examples for running the pipeline using REST API.

As per Azure Documentation , you dont have any rest api to trigger a azure devops build. By using rest api you can perform the below azure devops build operations only.

在此处输入图片说明

Assuming by trigger you mean you want to start a build, try the Queue API call listed in VenkateshDodda-MT's answer. It queus a new build.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM