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

set cron timezone to Shanghai


Former-commit-id: fa8eb8544e7616a3e2621424c4d5013c0a0253be
上级 8cfd8a86
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.
先完成此消息的编辑!
想要评论请 注册