Commit 1fb01386 authored by Auto Backup's avatar Auto Backup

fix: 修复中文感叹号语法错误

BRANCH_NAME条件判断使用了中文!改为英文!=运算符
parent b1aa6cd7
......@@ -179,7 +179,7 @@ pipeline {
if (params.avg) {
buildParams += " --avg=${params.avg}"
}
if (params.BRANCH_NAME && params.BRANCH_NAME = "unknown") {
if (params.BRANCH_NAME && params.BRANCH_NAME != "unknown") {
buildParams += " --branch=${params.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