1. Groovy Template file [robot_results.groovy] was not found in $JENKINS_HOME/email_template
1.需要在managed files 添加robot_results.groovy。这个名字需要和配置在构建项目里default content一致(Extended E-mail Notification默认设置里Default Content的值,改成 ${SCRIPT,template="robot_results.groovy"})
参考: jenkins通过groovy-postbuild插件实现发送robotframework测试报告模板_robotframework 邮件模版格式不对_油菜花啊的博客-CSDN博客
2. Opening Robot Framework report failed
参考:在配置文件/etc/sysconfig/jenkins中,JENKINS_JAVA_OPTIONS参数中加入-Dhudson.model.DirectoryBrowserSupport.CSP=true
,如下所示。