78 lines
2.8 KiB
HTML
78 lines
2.8 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
<html lang="en">
|
|||
|
<head>
|
|||
|
<meta charset="UTF-8">
|
|||
|
<title>Title</title>
|
|||
|
<style type="text/css">
|
|||
|
.logo {
|
|||
|
float: left;
|
|||
|
min-width: 40px;
|
|||
|
height: 40px;
|
|||
|
}
|
|||
|
.title{
|
|||
|
text-align: center;
|
|||
|
color: rgb(235, 30, 15);
|
|||
|
}
|
|||
|
.desc{
|
|||
|
text-align: left;
|
|||
|
}
|
|||
|
</style>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<div >
|
|||
|
<a href="https://*******/" class="fl mr50" style="min-width: 45px;">
|
|||
|
<img alt="Trustie" class="logo" src="https://*******/images/avatars/LaboratorySetting/1nav?t=1610102853">
|
|||
|
</a>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<h1 class="title">API & UI 自动化测试报告</h1>
|
|||
|
</div>
|
|||
|
<div class="desc">
|
|||
|
<p><span style="color: red; "> Jenkins自动发送的测试报告邮件,无需回复!</span></p>
|
|||
|
<h4> 各位同事,大家好,以下为${PROJECT_NAME}自动化测试构建信息</h4><br/>
|
|||
|
<h4> 在线测试报告直达链接:<a href="${PROJECT_URL}/${BUILD_NUMBER}/allure">${PROJECT_URL}/${BUILD_NUMBER}/allure</a></h4>
|
|||
|
</div>
|
|||
|
<br/>
|
|||
|
<div>
|
|||
|
<table width="900" cellpadding="8px" cellspacing="8px" class="table">
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><br/>
|
|||
|
<b><font color="#0B610B">项目描述:${JOB_DESCRIPTION}<br></font></b>
|
|||
|
<hr size="2" width="100%" align="center" /></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>项目名称 : ${PROJECT_NAME}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>构建编号 : 第${BUILD_NUMBER}次构建</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>触发原因: ${CAUSE}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>构建状态: ${BUILD_STATUS}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>构建日志: <a href="${PROJECT_URL}${BUILD_NUMBER}/console">${PROJECT_URL}${BUILD_NUMBER}/console</a></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>构建Url : <a href="${BUILD_URL}">${BUILD_URL}</a></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>工作目录 : <a href="${PROJECT_URL}ws">${PROJECT_URL}ws</a></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>项目Url : <a href="${PROJECT_URL}">${PROJECT_URL}</a></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>allure在线测试报告:<a href="${PROJECT_URL}/${BUILD_NUMBER}/allure">${PROJECT_URL}/${BUILD_NUMBER}/allure</a></td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
</body>
|