luhaowen 5 days ago
parent
commit
71aae0f16e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/com/example/FeishuNotifier.groovy

+ 2 - 2
src/com/example/FeishuNotifier.groovy

@@ -23,7 +23,7 @@ class FeishuNotifier implements Serializable {
                     (status == 'SUCCESS') ? '✅ 构建成功' :
                     (status == 'FAILURE') ? '❌ 构建失败' : '🟡 构建不稳定'
 
-        // 2. 飞书极简卡片:header + elements(采用做法2:elements里放大加粗任务名称)
+        // 2. 飞书极简卡片:header + elements
         def payload = [
             msg_type: 'interactive',
             card: [
@@ -40,7 +40,7 @@ class FeishuNotifier implements Serializable {
                         text: [
                             tag: 'lark_md',
                             content: """
-**<font size=4>任务名称</font>**: <font size=4><b>${jobName}</b></font>  
+**任务名称**: ${jobName}  
 **构建编号**: [#${buildNumber}](${buildUrl})  
 **持续时间**: ${duration}  
 **分支**: ${branch}