fix cron sintax

This commit is contained in:
Roberto Cirillo 2022-04-22 11:41:05 +02:00
parent 4227937a0f
commit 588403dadf
1 changed files with 4 additions and 1 deletions

5
Jenkinsfile vendored
View File

@ -1,9 +1,12 @@
// related jenkins job: https://jenkins.d4science.org/job/gCubeDeployer/
pipeline {
agent {
label 'CD'
}
triggers {
cron "0 0 * * MON"
// once a day on the 1st and 15th of every month
cron 'H H 1,15 * *'
}
//once in every two hours slot between 9 AM and 5 PM every weekday (perhaps at 10:38 AM, 12:38 PM, 2:38 PM, 4:38 PM)
// cron('H H(9-16)/2 * * 1-5')