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

set cron timezone to Shanghai


Former-commit-id: b1f05d796dce95cae1b19c5729ccd4d8da8219c1
上级 a0c938bc
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
pipeline {
agent none
triggers { cron(cron_string) }
triggers {
cron("${cron_timezone}
${cron_string}")
}
options {
timestamps()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册