From 3f0a942ab955eed2c8c8944fcc148d1c3823e69a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Thu, 18 Jun 2026 12:25:04 +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 a988e21..f7d3086 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}" } } @@ -92,10 +92,10 @@ pipeline { post { success { - echo "H5 SDK v${env.PUBLISH_VERSION} 构建成功 (Commit: ${env.GIT_COMMIT_SHORT})" + bat "chcp 65001 >nul && echo H5 SDK v${env.PUBLISH_VERSION} 构建成功 (Commit: ${env.GIT_COMMIT_SHORT})" } failure { - echo "H5 SDK 构建失败,请检查日志" + bat 'chcp 65001 >nul && echo H5 SDK 构建失败,请检查日志' } } }