mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-02 08:55:56 +08:00
fix ci/jenkins/Jenkinsfile error
Former-commit-id: a2a27530e47b57b2b4eaaa76544f62f9f5a2496c
This commit is contained in:
parent
9d751d295e
commit
1a1c858f1e
4
ci/jenkins/Jenkinsfile
vendored
4
ci/jenkins/Jenkinsfile
vendored
@ -1,4 +1,4 @@
|
||||
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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user