Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f
* you can't do that in a delcarative pipeline.
*/
pipeline {
+ options {
+ timestamps
+ timeout(time: 60, unit: 'MINUTES')
+ }
triggers {
/*
* This trigger will match either the "asterisk" or "Security-asterisk"
* you can't do that in a delcarative pipeline.
*/
pipeline {
+ options {
+ timestamps()
+ timeout(time: 3, unit: 'HOURS')
+ }
triggers {
cron 'H H(0-4) * * *'
}
* you can't do that in a delcarative pipeline.
*/
pipeline {
+ options {
+ timestamps()
+ timeout(time: 1, unit: 'DAYS')
+ }
triggers {
cron 'H H(0-4) * * 0'
}
* you can't do that in a delcarative pipeline.
*/
pipeline {
+ options {
+ timestamps()
+ timeout(time: 30, unit: 'MINUTES')
+ }
triggers {
/*
* This trigger will match either the "asterisk" or "Security-asterisk"