问题
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