make sure to put #!/usr/bin/env groovy at the top of the Jenkinsfile

Former-commit-id: 5af0774e12ea9d10f3fe10b77336df22d748c7de
This commit is contained in:
milvus-ci-robot 2019-10-31 14:30:55 +08:00
parent e3e22cedc5
commit 28ac93a226

View File

@ -1,3 +1,5 @@
#!/usr/bin/env groovy
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