From 588403dadf0950c077edb4cdb07a18dab28d5e34 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Fri, 22 Apr 2022 11:41:05 +0200 Subject: [PATCH] fix cron sintax --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 939577e..0a49b8d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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')