0
votes

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.

1
All notification related settings can be found at dev.azure.com/my_organization/my_project/_settings/… . Please follow this link to add one more subscription for Release as Category and A deployment is completed. Click Next and add Filter criteria for Field as Deployment status with value Succeeded.Jay
As I said in the original post, this is not a release object but a yaml pipeline. Nevertheless I was able to set up proper notification following your instruction but choosing Build instead of Release.Mateusz Koszewski
To avoid misunderstanding: the methods I've described can be used in a YAML pipeline.Jane Ma-MSFT
Hi there, is there any updates for this issue? Please check whether my answer below can help you and feel free to comment! :) Just a remind of this.Jane Ma-MSFT

1 Answers

0
votes

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.