zoukankan      html  css  js  c++  java
  • csp项目的jenkins配置

    以下是邮件中的内容格式

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>${ENV, var="JOB_NAME"}-第${BUILD_NUMBER}次构建日志</title>
    </head>
    
    <body leftmargin="8" marginwidth="0" topmargin="8" marginheight="4"
        ffset="0">
        <table width="95%" cellpadding="0" cellspacing="0"
            style="font-size: 11pt; font-family: Tahoma, Arial, Helvetica, sans-serif">
            <tr>
                <td>(本邮件是程序自动下发的,请勿回复!)<br /><br /></td>
            </tr>
            <tr>
                <td><h2>
                        <font color="#0000FF">构建结果 - ${BUILD_STATUS}</font>
                    </h2></td>
            </tr>
            <tr>
                <td><h2><br />
                        <font color="#0000FF" style="font-size:20px">测试报告:<a href="http://192.168.1.189/examples/Jenkins_report/MojingCSP/test-output${build_number}/index.html">http://192.168.1.189/examples/Jenkins_report/MojingCSP/test-output${build_number}/index.html</a></font>
                        
                    </h2></td>
            </tr>
            <tr>
                <td><h2>
                        <font color="#0000FF"  style="font-size:15px">测试报告加载内容较多,请耐心等待</font>
                    </h2></td>
            </tr>
            <tr>
                <td><br />
                <b><font color="#0B610B">构建信息</font></b>
                <hr size="2" width="100%" align="center" /></td>
            </tr>
            <tr>
                <td>
                    <ul>
                        <li>项目名称&nbsp;&nbsp;${PROJECT_NAME}</li>
                        <li>测试环境&nbsp;&nbsp;192.168.1.187:8080</li>
                        <li>构建编号&nbsp;&nbsp;第${BUILD_NUMBER}次构建</li>
                        <li>触发原因:&nbsp;${CAUSE}</li>
                        <li>构建日志:&nbsp;<a href="${BUILD_URL}console">${BUILD_URL}console</a></li>
                    </ul>
                </td>
            </tr>
             <tr>
                <td><b><font color="#0B610B">构建日志 (最后 200行):</font></b>
                <hr size="2" width="100%" align="center" /></td>
            </tr>
            <!-- <tr>
                <td>Test Logs (if test has ran): <a
                    href="${PROJECT_URL}ws/TestResult/archive_logs/Log-Build-${BUILD_NUMBER}.zip">${PROJECT_URL}/ws/TestResult/archive_logs/Log-Build-${BUILD_NUMBER}.zip</a>
                    <br />
                <br />
                </td>
            </tr> -->
            <tr>
                <td><textarea cols="120" rows="30" readonly="readonly"
                        style="font-family: Courier New">${BUILD_LOG, maxLines=200}</textarea>
                </td>
            </tr>
  • 相关阅读:
    JQ优化性能
    CSS3 Filter的十种特效
    立即执行函数: (function ( ){...})( ) 与 (function ( ){...}( )) 有什么区别?
    EasyUI DateBox
    Java8接口的默认方法
    MySQL -- insert ignore语句
    建数据库表经验总结
    IntelliJ IDEA 实用快捷键
    从 Java 代码到 CPU 指令
    使用ImmutableMap简化语句
  • 原文地址:https://www.cnblogs.com/amy7758/p/6762857.html
Copyright © 2011-2022 走看看