generated from gCubeCI/Pipeline-Docker-Template
cron sintax fix
This commit is contained in:
parent
e570a478a7
commit
ef5981f6c5
|
@ -1,11 +1,12 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
label 'CD'
|
label 'CD'
|
||||||
|
}
|
||||||
triggers {
|
triggers {
|
||||||
|
cron "*/10 * * * *"
|
||||||
|
}
|
||||||
//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)
|
//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')
|
// cron('H H(9-16)/2 * * 1-5')
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
AGENT_ROOT_FOLDER = "${agent_root_folder}"
|
AGENT_ROOT_FOLDER = "${agent_root_folder}"
|
||||||
|
|
Loading…
Reference in New Issue