diff --git a/Jenkinsfile b/Jenkinsfile index 5cae47b..5f68993 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -182,9 +182,9 @@ print('versions.json updated, platformVersion=' + d.get('platformVersion', '')) script { def serviceVersions = new groovy.json.JsonSlurper().parseText(env.SERVICE_VERSIONS_JSON ?: '{}') def summary = serviceVersions.collect { svc, ver -> "${svc}:${ver}" }.join(', ') - echo "✅ 构建部署成功 — ${summary}" + bat "chcp 65001 >nul && echo ✅ 构建部署成功 — ${summary}" } } - failure { echo "❌ 构建失败,请检查日志" } + failure { bat 'chcp 65001 >nul && echo ❌ 构建失败,请检查日志' } } }