Sfoglia il codice sorgente

fix(jenkins): 去掉 ansiColor 选项以兼容未装 AnsiColor 插件的 Jenkins

UAT/SIT/DEV 机器未安装 AnsiColor 插件,会报
"Invalid option type ansiColor",导致 Pipeline 编译失败。
ansiColor 仅用于日志着色,删除不影响构建逻辑。

Co-authored-by: Cursor <cursoragent@cursor.com>
天空之城 2 settimane fa
parent
commit
4f03165ee3
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      Jenkinsfile

+ 0 - 1
Jenkinsfile

@@ -4,7 +4,6 @@ pipeline {
   options {
     buildDiscarder(logRotator(numToKeepStr: '10'))
     timestamps()
-    ansiColor('xterm')
     disableConcurrentBuilds()
   }