标签:
执行SoapUI的task,里面包含多个Project,发出的报告也要求包含多个Project,设置邮件内容为HTML+CSS
如何保证样式在邮件内容中不丢失
<link title="Style" type="text/css" rel="stylesheet" href="stylesheet.css"> <span style="font-family:verdana;color:black;font-weight:bold;">Project : </span> <span style="font-family:verdana;color:black;">DO_IT Maitenance</span> <BR> <BR> <span style="font-family:verdana;color:black;font-weight:bold;">Build Status : </span> <span style="font-family:verdana;color:red;">${BUILD_STATUS}</span> <BR> <BR> <span style="font-family:verdana;color:black;font-weight:bold;">Automation Tool : </span> <span style="font-family:verdana;color:black;">SoapUI</span> <BR> <BR> <span style="font-family:verdana;color:black;font-weight:bold;">SoapUI Test Results : </span> <span style="font-family:verdana;color:black;"><a href=https://jenkins.morningstar.com/job/DO/view/DO%20Automation/job/Automation_SoapUI_ITMaintenance_All/ws/result-output/index.html>SoapUI Test Results</a></span> <BR> <BR> <HR style="text-align:left;" width="95%" color=#A6CAF0 size=20 /> ${FILE,path="result-output/AA_ITMaintenance/package-summary.html"} <HR style="text-align:left;" width="95%" color=#A6CAF0 size=20 /> ${FILE,path="result-output/PA_ITMaintenance/package-summary.html"} <HR style="text-align:left;" width="95%" color=#A6CAF0 size=20 /> ${FILE,path="result-output/alltests-fails.html"}
[Jenkins] 执行SoapUI的task,里面包含多个Project,发出的报告也要求包含多个Project,设置邮件内容为HTML+CSS
标签:
原文地址:http://www.cnblogs.com/MasterMonkInTemple/p/4741300.html