zoukankan      html  css  js  c++  java
  • [Jenkins] 执行SoapUI的task,里面包含多个Project,发出的报告也要求包含多个Project,设置邮件内容为HTML+CSS

    执行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"}
    

      

  • 相关阅读:
    redis 事务 lq
    redis集群架构高可用分析 lq
    redis分布式锁 lq
    jvm垃圾回收 lq
    【攻防世界】逆向666
    第六届上海市大学生网络安全大赛wp
    【攻防世界】逆向answer_to_everying
    2021 DJBCTF(大吉大利杯) wp
    渗透靶机bossplayersCTF
    2020首届祥云杯部分wp
  • 原文地址:https://www.cnblogs.com/MasterMonkInTemple/p/4741300.html
Copyright © 2011-2022 走看看