邮件配置:
邮件内容范例:
${FILE,path="C:\Users\Administrator\.jenkins\workspace\XXX自动化测试工程目录\$JOB_BASE_NAME\reports_$BUILD_NUMBER.html"} <br> 详细信息请查看地址: <a href="$JOB_URL/$BUILD_NUMBER/cucumber-html-reports/overview-features.html">$JOB_URL/$BUILD_NUMBER/cucumber-html-reports/overview-features.html</a><br> (本邮件由系统自动发出)
Linux版本写法:
${FILE,path="/var/lib/jenkins/workspace/大数据自动化测试工程目录/$JOB_BASE_NAME/reports_$BUILD_NUMBER.html"} <br> 详细信息请参照查看地址: <a href="$JOB_URL/$BUILD_NUMBER/cucumber-html-reports/overview-features.html">$JOB_URL/$BUILD_NUMBER/cucumber-html-reports/overview-features.html</a><br> (本邮件由系统自动发出)