I’d like to send an email after a build completes with some data from the reports that are run (PMD, Checkstyle, Findbugs, Cobertura) such as number of issues, new issues, coverage etc.
Is this possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve managed to get some data using the email-ext plugin. You need to include a jelly file in the email sent like this:
There is a default template (
html.jelly) which includes junit and Cobertura results which I’ve modified by adding something like this:For PMD and CheckStyle you can do something similar with:
I’ve not yet found a way to include the low/medium/high priority figures for the results.