NUnit report attachment in email notification

We are using NUnit runner in a build step to run automated unit tests. It produces "tests" tab on TeamCity UI and an .csv attachment link right side. We are trying to automate the email notification sending through teamcity having the .csv file attached. We are unable to find the .csv file in teamcity server/agent.

Our goal is once the automated unit tests are ran through Nunit runner in teamcity. Teamcity should send automatic notification to some group with the attachment (.csv).

Please help.

0
1 comment

Hi,

 

If you are using email notifications from teamcity, I'm afraid they don't support attachments at all. We have an issue in our tracker in that regard: https://youtrack.jetbrains.com/issue/TW-7318

 

Regarding picking up some of this reports, maybe in a slightly different way, you can find some information about it here: https://teamcity-support.jetbrains.com/hc/en-us/community/posts/360000002530-Get-test-results-list-automatically . While you might not be able to send it as an attachment, you can probably set up the notification template to include a link to it.

0

Please sign in to leave a comment.