Преглед на файлове

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

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

Co-authored-by: Cursor <cursoragent@cursor.com>
天空之城 преди 2 седмици
родител
ревизия
4f03165ee3
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      Jenkinsfile

+ 0 - 1
Jenkinsfile

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