From 92bf6ff794e2958ba981257b8943cf20271c3b8b Mon Sep 17 00:00:00 2001 From: XuqmGroup Date: Thu, 18 Jun 2026 12:25:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20echo=20=E4=B8=AD=E6=96=87=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20bat+chcp65001=20=E4=BF=AE=E5=A4=8D=20Jenkins=20?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=8F=B0=E4=B9=B1=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index af90262..39f3eec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,7 +30,7 @@ pipeline { stage('Build Info') { steps { - echo "发布版本: ${env.PUBLISH_VERSION} ⚠ 发布前请确认已在 package.json 中更新版本号" + bat "chcp 65001 >nul && echo 发布版本: ${env.PUBLISH_VERSION} ⚠ 发布前请确认已在 package.json 中更新版本号" echo "Git Commit: ${env.GIT_COMMIT_SHORT}" } } @@ -103,10 +103,10 @@ pipeline { post { success { - echo "Vue3 SDK v${env.PUBLISH_VERSION} 构建成功 (Commit: ${env.GIT_COMMIT_SHORT})" + bat "chcp 65001 >nul && echo Vue3 SDK v${env.PUBLISH_VERSION} 构建成功 (Commit: ${env.GIT_COMMIT_SHORT})" } failure { - echo "Vue3 SDK 构建失败,请检查日志" + bat 'chcp 65001 >nul && echo Vue3 SDK 构建失败,请检查日志' } } }