标签:
设置邮件内容:Default Content
<span style="font-family:verdana;font-size:16px;color:black;font-weight:bold;">Project : </span> <span style="font-family:verdana;font-size:16px;color:black;">PA_Regression_Accuracy_Static</span> <BR> <BR> <span style="font-family:verdana;font-size:16px;color:black;font-weight:bold;">Build Status : </span> <span style="font-family:verdana;font-size:16px;color:red;">${BUILD_STATUS}</span> <BR> <BR> <span style="font-family:verdana;font-size:16px;color:black;font-weight:bold;">Automation Tool : </span> <span style="font-family:verdana;font-size:16px;color:black;">SoapUI</span> <BR> <BR> <span style="font-family:verdana;font-size:16px;color:black;font-weight:bold;">TP vs Live Test Results : </span> <span style="font-family:verdana;font-size:16px;color:black;"><a href=http://szotwin2k801/PA/>TP vs Live Test Results</a></span> <BR> <BR> <span style="font-family:verdana;font-size:16px;color:black;font-weight:bold;">Links in SoapUI Test Results : </span> <span style="font-family:verdana;font-size:16px;color:black;"><a href=https://jenkins.morningstar.com/job/DO/view/DO%20Automation/job/Automation_SoapUI_PA_Regression_Accuracy_Static/ws/result-output//overview-summary.html>SoapUI Test Results</a></span> <BR> <BR> <HR style="text-align:left;" width="95%" color=#A6CAF0 size=20 /> ${FILE,path="result-output/overview-summary.html"} <HR style="text-align:left;" width="95%" color=#A6CAF0 size=20 /> ${FILE,path="result-output/alltests-fails.html"}
设置邮件格式:Content Type 为 HTML(text/html)
将CSS作为附件 : Attachments 为 result-output/*.css
[Jenkins] 执行SoapUI的task,设置邮件内容为HTML+CSS
标签:
原文地址:http://www.cnblogs.com/MasterMonkInTemple/p/4682177.html