Jenkins Email-ext plugin default Jelly script shows all unit tests, not just failed ones

I use the Email-ext plugin on Jenkins, and the default is Jelly script $ {JELLY_SCRIPT, template = "html"}.

The template, apparently, displays all unit tests in the email, and not only those that failed, and made the assembly unstable. This in itself is a strange design decision, as important content is lost, but is there an easy way to simply display unsuccessful tests in an email? I suppose I need to change the default Jelly script template somewhere? Thanks!

+4
source share
2 answers

${JELLY_SCRIPT,template="html"} script html html.jelly. , HUDSON_HOME/plugins/email-ext/WEB-INF/classes/hudson/plugins/emailext/templates. , , abc.jelly script ${JELLY_SCRIPT,template="abc"}

Jenkin email-ext.jar, Jenkin_Home/plugins/email-ext/WEB-INF/lib. / /plugins/emailext/templates/ .

+5

Source: https://habr.com/ru/post/1527188/


All Articles