Send JUnit report to specific recipient

8 views
Skip to first unread message

Elica Milanova

unread,
Nov 21, 2014, 7:50:07 AM11/21/14
to jenkins...@googlegroups.com
Hello,

I have configured JUnit test suite execution via maven surefire plugin which produces results on nightly bases. After each execution an email is sent to a certain DL where all the submitters are included. But I need to send a mail only to those submitters whose tests are failing. Let's say that person A has written TestA, person B has written TestB. If TestA fails, I know who is responsible for this and I want to send him a notification automatically and not to send such to person B as TestB is OK.

I saw the Jenkins Email-ext+plugin. The problem is that it expects a list with email addresses, which in my case each time is different. If I am able to store the emails after each execution in a file, I could i.e. pass it to a such plugin and it could send mails to the addresses from the file.

Do you know how can I do this magic? :) Maybe I can use the same plugin and put something extra in the templates?

Thanks!

Reply all
Reply to author
Forward
0 new messages