mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
set cron timezone to Shanghai
Former-commit-id: 28271c43dfae440fd2baa541e846d80d6bf354d8
This commit is contained in:
parent
3e50d77cdc
commit
60d68defda
8
ci/jenkins/Jenkinsfile
vendored
8
ci/jenkins/Jenkinsfile
vendored
@ -1,13 +1,13 @@
|
||||
String cron_timezone = "TZ=Asia/Shanghai"
|
||||
String cron_string = BRANCH_NAME == "master" ? "H 0 * * *" : ""
|
||||
cron_string = BRANCH_NAME == "0.5.1" ? "H 1 * * *" : cron_string
|
||||
String cron_string = BRANCH_NAME == "master" ? "H 0 * * * " : ""
|
||||
cron_string = BRANCH_NAME == "0.5.1" ? "H 1 * * * " : cron_string
|
||||
|
||||
pipeline {
|
||||
agent none
|
||||
|
||||
triggers {
|
||||
cron('''"${cron_timezone}"
|
||||
"${cron_string}"''')
|
||||
cron """${cron_timezone}
|
||||
${cron_string}"""
|
||||
}
|
||||
|
||||
options {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user