Loading ci/jenkins/Jenkinsfile +4 −2 Original line number Diff line number Diff line String cron_string = BRANCH_NAME == "master" || BRANCH_NAME == "0.5.0" || BRANCH_NAME == "0.5.1" ? "H 0 * * *" : "" String cron_string = BRANCH_NAME == "master" ? "H 0 * * *" : cron_string cron_string = BRANCH_NAME == "0.5.1" ? "H 1 * * *" : cron_string pipeline { agent none Loading @@ -23,7 +25,7 @@ pipeline { SEMVER = "${BRANCH_NAME}" JOBNAMES = env.JOB_NAME.split('/') PIPELINE_NAME = "${JOBNAMES[0]}" NIGHTLIY_TEST = "${cron_string == "" ? false : true}" NIGHTLIY_TEST = "${cron_string ? true : false}" } stages { Loading Loading
ci/jenkins/Jenkinsfile +4 −2 Original line number Diff line number Diff line String cron_string = BRANCH_NAME == "master" || BRANCH_NAME == "0.5.0" || BRANCH_NAME == "0.5.1" ? "H 0 * * *" : "" String cron_string = BRANCH_NAME == "master" ? "H 0 * * *" : cron_string cron_string = BRANCH_NAME == "0.5.1" ? "H 1 * * *" : cron_string pipeline { agent none Loading @@ -23,7 +25,7 @@ pipeline { SEMVER = "${BRANCH_NAME}" JOBNAMES = env.JOB_NAME.split('/') PIPELINE_NAME = "${JOBNAMES[0]}" NIGHTLIY_TEST = "${cron_string == "" ? false : true}" NIGHTLIY_TEST = "${cron_string ? true : false}" } stages { Loading