restored old cron

This commit is contained in:
Roberto Cirillo 2022-09-28 17:05:10 +02:00
parent a55729d32c
commit 20f82cb657
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -41,9 +41,9 @@ pipeline {
triggers {
// every fifteen minutes (perhaps at :07, :22, :37, :52)
cron('H/15 * * * *')
// cron('H/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)/6 * * 1-5')
cron('H H(9-16)/6 * * 1-5')
}
environment {
@ -85,7 +85,7 @@ pipeline {
date=`date`;
mkdir -p ${DEPLOY_FILE_ROOT_FOLDER}
mkdir -p "${WORKSPACE}/CD"
'mv -v "${DEPLOY_FILE_ROOT_FOLDER}\*" "${WORKSPACE}"'
mv -v "${DEPLOY_FILE_ROOT_FOLDER}\*" "${WORKSPACE}"
'''
}
}