Yoda
Yoda

Reputation: 18068

How to send notification e-mail when release doesn't succeed in Azure DevOps?

I try to send notification from Azure DevOps when a test fails in the release pipeline. If the test fails then the release pipeline has Partialy succeeded status. I can't find option to notify when this pipeline fails in Azure. Question: How to send notification e-mail when release doesn't succeed in Azure DevOps?

Upvotes: 0

Views: 1633

Answers (1)

Matt
Matt

Reputation: 4065

Create a new release notification subscription for "A deployment is completed". Add a new filter clause such that:

Deployment Status = Partially succeeded

or Deployment Status = Failed

If you want to treat a test failure as a failure and not a partial success, you will likely need to un-check the "Continue on error" option under "Control Options" of the test task in your release pipeline.

Upvotes: 2

Related Questions