|
@@ -13,7 +13,7 @@ class FeishuNotifier implements Serializable {
|
|
|
|
|
|
|
|
void send(String status, String jobName, String buildNumber, String buildUrl,
|
|
void send(String status, String jobName, String buildNumber, String buildUrl,
|
|
|
String duration, String branch, String commitMsg, String author,
|
|
String duration, String branch, String commitMsg, String author,
|
|
|
- String commitTime) {
|
|
|
|
|
|
|
+ String commitTime, String builder) {
|
|
|
|
|
|
|
|
// 1. 决定左侧条颜色 + 标题
|
|
// 1. 决定左侧条颜色 + 标题
|
|
|
def color = (status == 'START') ? 'blue' :
|
|
def color = (status == 'START') ? 'blue' :
|
|
@@ -47,6 +47,7 @@ class FeishuNotifier implements Serializable {
|
|
|
**提交信息**: ${commitMsg}
|
|
**提交信息**: ${commitMsg}
|
|
|
**作者**: ${author}
|
|
**作者**: ${author}
|
|
|
**提交时间**: ${commitTime}
|
|
**提交时间**: ${commitTime}
|
|
|
|
|
+**构建人**: ${builder}
|
|
|
""".stripIndent()
|
|
""".stripIndent()
|
|
|
]
|
|
]
|
|
|
],
|
|
],
|