@@ -29,14 +29,16 @@ class FeishuNotifier implements Serializable {
""".stripIndent()
def payload = [
- msg_type: "post",
+ msg_type: "text",
content: [
- post: [
- zh_cn: [
- title: title,
- content: [[ tag: "text", text: text ]]
- ]
+ text: """
+ 构建状态: ${status}
+ 任务名称: ${jobName}
+ 构建编号: #${buildNumber}
+ 持续时间: ${duration}
+ 查看详情: ${buildUrl}
+ """.stripIndent()
+
]