提交 89bc523a 编写于 作者: M milvus-ci-robot

fix ci/jenkins/Jenkinsfile error


Former-commit-id: 4b005ac10cbd7d370104a501abe080a1d7b0ddca
上级 f589ef01
String cron_string = BRANCH_NAME == "master" ? "H 0 * * *" : cron_string
String cron_string = BRANCH_NAME == "master" ? "H 0 * * *" : ""
cron_string = BRANCH_NAME == "0.5.1" ? "H 1 * * *" : cron_string
pipeline {
......@@ -25,7 +25,7 @@ pipeline {
SEMVER = "${BRANCH_NAME}"
JOBNAMES = env.JOB_NAME.split('/')
PIPELINE_NAME = "${JOBNAMES[0]}"
NIGHTLIY_TEST = "${cron_string ? true : false}"
NIGHTLIY_TEST = "${cron_string == "" ? false : true}"
}
stages {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册