Jenkins Email notification HTML Magic Board

Source: Internet
Author: User

<!DOCTYPE HTML><HTML><Head><MetaCharSet= "UTF-8"><title>${env, var= "Job_name"}-${build_number} times build Log</title></Head><BodyLeftMargin= "8"marginwidth= "0"TopMargin= "8"marginheight= "4"Offset= "0">    <Tablewidth= "95%"cellpadding= "0"cellspacing= "0"style= "font-size:11pt; font-family:tahoma, Arial, Helvetica, Sans-serif">        <TR>            <TD>(This email is automatically issued by the program, do not reply!) )</TD>        </TR>        <TR>            <TD><H2>                    <FontColor= "#0000FF">Build Result-${build_status}</Font>                </H2></TD>        </TR>        <TR>            <TD><BR/>            <b><FontColor= "#0B610B">Building information</Font></b>            <HRsize= "2"width= "100%"Align= "Center" /></TD>        </TR>        <TR>            <TD>                <ul>                    <Li>Project name&nbsp;:&nbsp;${project_name}</Li>                    <Li>Build number&nbsp;:&nbsp;Section ${build_number} times built</Li>                    <Li>Svn&nbsp;Version:&nbsp;${svn_revision}</Li>                    <Li>Trigger Reason:&nbsp;${cause}</Li>                    <Li>Build log:&nbsp;<ahref= "${build_url}console">${build_url}console</a></Li>                    <Li>Build&nbsp;&nbsp;Url&nbsp;:&nbsp;<ahref= "${build_url}">${build_url}</a></Li>                    <Li>Working directory&nbsp;:&nbsp;<ahref= "${project_url}ws">${project_url}ws</a></Li>                    <Li>Project&nbsp;&nbsp;Url&nbsp;:&nbsp;<ahref= "${project_url}">${project_url}</a></Li>                </ul>            </TD>        </TR>        <TR>            <TD><b><FontColor= "#0B610B">changes Since Last successful Build:</Font></b>            <HRsize= "2"width= "100%"Align= "Center" /></TD>        </TR>        <TR>            <TD>                <ul>                    <Li>History Change Record:<ahref= "${project_url}changes">${project_url}changes</a></Li>                </ul>${changes_since_last_success,reverse=true, format= "Changes for Build #%n:<BR/>%c<BR/>", showpaths=true,changesformat="<Pre>[%a]<BR/>%m</Pre>", pathformat="&nbsp;&nbsp;&nbsp;&nbsp;%p "}</TD>        </TR>        <TR>            <TD><b>Failed Test Results</b>            <HRsize= "2"width= "100%"Align= "Center" /></TD>        </TR>        <TR>            <TD><Prestyle= "font-size:11pt; font-family:tahoma, Arial, Helvetica, Sans-serif">$FAILED _tests</Pre>                <BR/></TD>        </TR>        <TR>            <TD><b><FontColor= "#0B610B">Build log (last 100 lines):</Font></b>            <HRsize= "2"width= "100%"Align= "Center" /></TD>        </TR>        <!--<tr> <td>test Logs (if Test has ran): <a href= "${project_url}ws/testresult/a Rchive_logs/log-build-${build_number}.zip ">${project_url}/ws/testresult/archive_logs/log-build-${build_ number}.zip</a> <br/> <br/> </td> </tr> -        <TR>            <TD><textareacols= "a"rows= "+"ReadOnly= "ReadOnly"style= "Font-family:courier New">${build_log, maxlines=100}</textarea>            </TD>        </TR>    </Table></Body></HTML>

Jenkins Email notification HTML Magic Board

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.