SimonD
SimonD

Reputation: 1547

How to send nunit results from jenkins to email

I've set up my jenkins to send emails after nunit tests are passed. How can I configure that the body of mail contains nunit results from TestResult.xml file? Maybe there is some plugin to jenkins?

Upvotes: 2

Views: 7835

Answers (2)

SimonD
SimonD

Reputation: 1547

I've found suitable solution for me: use Jelly script as described here:

https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin

Upvotes: 1

Cédric Julien
Cédric Julien

Reputation: 80761

I think you should take a look to the Email-ext plugin, it will allow you to decide what you want to send (and in your cae attach NUnit report).

Upvotes: 2

Related Questions