Hi.

I'm using the Email-ext plugin and I'm trying to test a email template that 
allows me to send team members the tests that failed in the build.
I'm not quite sure why they are not being sent as i'm using 
the ${FAILED_TESTS} Macro Token, I suspect it has to do with the fact I use 
failsafe-plugin instead of surefire-plugin in my maven build. The only 
thing printed in the email in the ${FAILED_TESTS}  section is something 
like 
"3 tests failed. ... and 3 other failed tests." 
but not the detail of the failed tests as expected.

Anyway, the problem now is that I'm trying to create a groovy email 
template so I gain more control over the build and its properties and maybe 
I achieve to get the failed tests details and print them into the email.

The problem is that my groovy template has an error but I'm not able to 
figure out which errors are there or how to solve them because the only 
thing the jenkins console show when I test the template is :


An error occured trying to render the template:
> java.lang.NullPointerException



So, Is there a way to check the full stack trace of the error Jenkins found 
in the template so I can start fixing them?
Please help.

Or if anyone knows how to query the failed tests details when using 
failsafe-plugin in the maven build it would be great



Thanks in advance.


Arturo.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to