- Have your Jenkins administrator place the script inside
$JENKINS_HOME/email-templates
- Use the Jelly token with the template parameter equal to your script filename without the .jelly extension. For example, if the script filename is
testReport_fail.jelly
, the email content would look like this${JELLY_SCRIPT,template="testReport_fail"}
testReport_fail.jelly
Junit Test templates, display fail results
testReport.jelly
Junit Test templates, display all results
robot_fail.groovy
robotframework templates, display fail results
robot.groovy
robotframework templates, display all results