Commit ca1e2f9b authored by lijingang's avatar lijingang

fix

parent 1c3f51e1
......@@ -124,8 +124,10 @@ pipeline {
actionType = "PRE_RELEASE"
}
// --- 优先级 4: 常规核心分支 ---
else if (env.BRANCH_NAME == null || env.BRANCH_NAME == 'feat-report-zxh-bghd' ) {
def branch = env.BRANCH_NAME ?: '' // 若 env.BRANCH_NAME 为 null,则转为空字符串
else if (branch == '' || branch == 'feat-report-zxh-bghd') {
actionType = "REGULAR_BUILD"
echo "🔍 检测到核心分支: ${env.BRANCH_NAME},执行常规构建..."
}
}
......
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