/jenkins-email-ext-templates

自定义jenkins邮件扩展插件模板

Primary LanguageGroovy

jenkins-email-ext-templates

Use in Jenkins

  1. Have your Jenkins administrator place the script inside $JENKINS_HOME/email-templates
  2. 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"}

Templates

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

Reference