add triggers

This commit is contained in:
Roberto Cirillo 2022-04-15 15:17:32 +02:00
parent d5aff9fe1d
commit e570a478a7
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -1,10 +1,10 @@
pipeline {
agent {
label 'CD'
// triggers {
triggers {
//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 {