项目中的邮件设置:
Default Subject:
[Daily Build] 管理员测试- $BUILD_STATUS - Build # $BUILD_NUMBER!
Default Content:
/**********************************************************************************
<!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"
offset="0">
<table width="95%" cellpadding="0" cellspacing="0"
style="font-size: 11pt; font-family: Tahoma, Arial, Helvetica, sans-serif">
<tr>
<td><br />
<b><font color="#0B610B">构建信息</font></b>
<hr size="2" width="100%" align="center" /></td>
</tr>
<tr>
<td>
<ul>
<li>项目名称 : 管理员测试-demo</li>
<li>构建编号 : 第${BUILD_NUMBER}次构建</li>
<li>构建结果 : $BUILD_STATUS</li>
<li>触发原因: ${CAUSE}</li>
<li>蒲公英: xxx</li>
<li>更新内容: ${CHANGES,format="[%a] %m\n"}</li>
</ul>
</td>
</tr>
</table>
</body>
</html>
/**********************************************************************************
系统设置中的邮件设置:
Default Subject:
[Daily Build] 管理员测试- $BUILD_STATUS - Build # $BUILD_NUMBER!
Default Content:
$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
Check console output at $BUILD_URL to view the results.
网友评论