Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I write an azure function to trigger a azure devops pipeline? Is this even possible?

I'm trying to set up an Azure function that can trigger a Azure devops build pipeline. But I'm not sure on how to proceed with this and if it's even possible to do so.

I already have a build pipeline ready to be used but the conventional triggers that are already provided by Azure devops cannot be used. I can't disclose the reason but I need to trigger it using an Azure function. Any help regarding this would be really helpful.

Thanks.

like image 728
Shashank B S Avatar asked Oct 14 '25 09:10

Shashank B S


1 Answers

You can simply use the REST APIs of Azure DevOps and call those from your function. See here: API for automating Azure DevOps Pipelines?

like image 129
silent Avatar answered Oct 17 '25 00:10

silent



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!