Hey guys please I have a Azure Devops Pipeline configured. I need to create a Azure DevOps Release to run this pipeline… which kind of task should I choose from the list?
I’ve created a Azure DevOps Release but I cannot find the appropriate task to link to my existing Pipeline
2
Answers
Few options:
Install a free marketplace extension Trigger Azure DevOps Pipeline
Add a script task and use the Azure DevOps REST API to trigger your pipeline.
Just a suggestion, not sure if they need to be seperate as I am more leaning towards using yaml templates for everything (combining both your CI and CD into a single yaml can be done).
As well as bryanbcook said, there are third party marketplace extensions that do that.
You can also use REST calls from Azure DevOps and write a small powershell script (or any language) to create a release. I believe this may be the call (assuming Azure DevOps Services) to create a new release.
https://learn.microsoft.com/en-us/rest/api/azure/devops/release/releases/create?view=azure-devops-rest-7.1&tabs=HTTP