Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure DevOps task to kick off another release pipeline?

In our Azure DevOps deployment we have one "master" release pipeline that generates and runs "child" pipelines. The child pipelines are never run directly.

Currently we kick off the child pipelines using a Powershell script in the master pipeline, but I was wondering if there is a built in task that can do this automatically? I've taken a look at the task list, but nothing jumps out. It's fine if there isn't one, but wanted to ask in case I missed something.

like image 249
fepiv Avatar asked Oct 18 '25 10:10

fepiv


1 Answers

The answer has changed with the latest updates to Azure DevOps.

You should be able to use multi-stage pipelines or jobs that are part of yaml pipelines.

https://devblogs.microsoft.com/visualstudio/intelligent-productivity-and-collaboration-from-anywhere/

Refer below to get an idea on how to do this: https://github.com/venura9/azure-devops-yaml

As long as you are using your `dependsOn' correctly you should be good.

like image 151
Venura Athukorala Avatar answered Oct 20 '25 00:10

Venura Athukorala