Commit c57ff083 authored by lijingang's avatar lijingang

fix:[发布]

parent 24c72333
......@@ -114,7 +114,7 @@ pipeline {
// commitMsg = runPowerShellWithOutput("git log -1 --pretty=%B")
}
if (commitMsg.contains("[deploy]")) {
if (commitMsg.contains("[deploy]") ||commitMsg.contains("[部署]") || commitMsg.contains("[发布]") ) {
echo "🚀 [高优先级] 检测到 [deploy] 关键字,执行强制构建..."
actionType = "FORCE_DEPLOY"
}
......@@ -170,6 +170,7 @@ pipeline {
echo "AI 构建脚本执行结果: ${buildResult}"
} else {
echo "webapps 参数为默认值,跳过 S3 下载"
echo "执行构建参数: ${buildParams}"
def buildResult = runPowerShellWithOutput("cd \"${params.NODE_WORKING_DIR}\" ; node ./BuildScripts/ai-build.js ${buildParams}")
echo "AI 构建脚本执行结果: ${buildResult}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment