How to send a detailed email to specific developer from Azure DevOps on failure of unit tests from a Build pipeline?

守給你的承諾、 提交于 2019-12-22 05:35:11

问题


I'm trying to send a detailed email containing information about all failed unit tests in a pipeline and said email must be sent to the developer who wrote the unit tests.

Currently, I have a Visual Studio Test task in my build pipeline which executes my tests and sends an email on failure which provides at least some information.

However:
a) I would like the email to be be send to the developer who wrote the tests.
b) Email should contains all the details of the tests that failed (such as can be seen in the "Tests" tab of a completed build).
The automatic email does not provide all the details I want and mentioned above


回答1:


Azure Devops does not support that feature. You may add your request here: Azure DevOps (formerly Visual Studio Team Services).

As workaround and if you have coding experience, you can try to analyze test runs with Rest Api (Results - Get) and send email (Sending E-mail using C#).



来源:https://stackoverflow.com/questions/55509785/how-to-send-a-detailed-email-to-specific-developer-from-azure-devops-on-failure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!