How to add attachment (with code coverage details) in build notification email in Team Foundatuon server 2017

懵懂的女人 提交于 2019-12-25 12:44:24

问题


Hi we have some requirement.

We have to send code coverage and Verascan details as an attachment in build notification emails in Team Foundation Server 2017.

Can someone help me to achieve this functionality?

Thank you


回答1:


You could use some custom tasks to send mails in the build definition such as send email or email task.

With attachments which allows for a comma separated list of attachments to be added to the email, and this is where you would attach your code coverage report.

A sample for your reference: Custom VSTS Task: Code Analysis & Email



来源:https://stackoverflow.com/questions/43489287/how-to-add-attachment-with-code-coverage-details-in-build-notification-email-i

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