Patrick Vibild
Patrick Vibild

Reputation: 435

Call a release build from REST api in Azure

I want to call the Azure Devops to create a new release from one of my Release Pipelines.

I have been looking for different calls but its either to create the pipeline or build artifacts.

Is there a way to call a release pipeline from Azure API?

Upvotes: 0

Views: 178

Answers (1)

Patrick Vibild
Patrick Vibild

Reputation: 435

I did it with the next endpoint: https://learn.microsoft.com/en-us/rest/api/azure/devops/build/Builds/Queue?view=azure-devops-rest-5.0&viewFallbackFrom=vsts-rest-4.1

I was using a wrong body for the endpoint. With the example from the documentation it worked.

Upvotes: 1

Related Questions