码迷,mamicode.com
首页 > Web开发 > 详细

[Jenkins] 执行SoapUI的task,设置邮件内容为HTML+CSS

时间:2015-07-28 12:26:50      阅读:107      评论:0      收藏:0      [点我收藏+]

标签:

设置邮件内容: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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!