generated from gCubeCI/Pipeline-Docker-Template
restored old cron
This commit is contained in:
parent
a55729d32c
commit
20f82cb657
|
@ -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}"
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue