Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set up Azure DevOps notifications to receive after pipeline run fails?

I have two pipelines defined in AzureDevOps, the second (deploy) is triggered when the first (build) succeeds. I have also a branch policy to run build pipeline after each merge to master.

By default, Azure DevOps is set up in a way that I receive an email notification when the build pipeline completes, but I receive no notification after completion of the deployment. How can I receive notifications also for the deploy pipeline?

If triggered manually, the notifications for deployment are being sent, but not when triggered by the build pipeline.

Note that these are both pipelines (defined in YAML), not a pipeline and a release.

like image 728
Mateusz Koszewski Avatar asked Oct 23 '25 20:10

Mateusz Koszewski


1 Answers

I have reproduced the issue.

If configuring the pipeline triggers in yaml, the notification won't be sent. However, when I configure the triggers in Classic UI, the notification will be sent normally.

Here are the steps about setting build completion triggers using classic UI:

In the edit page of the deploy pipeline, click "More actions" button in upper right corner and select "Triggers":

enter image description here

Then, add a build completion and specify your build pipeline.

like image 190
Jane Ma-MSFT Avatar answered Oct 26 '25 02:10

Jane Ma-MSFT



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!