mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 05:40:52 +00:00
Merge "CI: Add timestamps and timeouts to jenkinsfiles"
This commit is contained in:
@@ -11,6 +11,10 @@
|
|||||||
* you can't do that in a delcarative pipeline.
|
* you can't do that in a delcarative pipeline.
|
||||||
*/
|
*/
|
||||||
pipeline {
|
pipeline {
|
||||||
|
options {
|
||||||
|
timestamps
|
||||||
|
timeout(time: 60, unit: 'MINUTES')
|
||||||
|
}
|
||||||
triggers {
|
triggers {
|
||||||
/*
|
/*
|
||||||
* This trigger will match either the "asterisk" or "Security-asterisk"
|
* This trigger will match either the "asterisk" or "Security-asterisk"
|
||||||
|
@@ -11,6 +11,10 @@
|
|||||||
* you can't do that in a delcarative pipeline.
|
* you can't do that in a delcarative pipeline.
|
||||||
*/
|
*/
|
||||||
pipeline {
|
pipeline {
|
||||||
|
options {
|
||||||
|
timestamps()
|
||||||
|
timeout(time: 3, unit: 'HOURS')
|
||||||
|
}
|
||||||
triggers {
|
triggers {
|
||||||
cron 'H H(0-4) * * *'
|
cron 'H H(0-4) * * *'
|
||||||
}
|
}
|
||||||
|
@@ -11,6 +11,10 @@
|
|||||||
* you can't do that in a delcarative pipeline.
|
* you can't do that in a delcarative pipeline.
|
||||||
*/
|
*/
|
||||||
pipeline {
|
pipeline {
|
||||||
|
options {
|
||||||
|
timestamps()
|
||||||
|
timeout(time: 1, unit: 'DAYS')
|
||||||
|
}
|
||||||
triggers {
|
triggers {
|
||||||
cron 'H H(0-4) * * 0'
|
cron 'H H(0-4) * * 0'
|
||||||
}
|
}
|
||||||
|
@@ -11,6 +11,10 @@
|
|||||||
* you can't do that in a delcarative pipeline.
|
* you can't do that in a delcarative pipeline.
|
||||||
*/
|
*/
|
||||||
pipeline {
|
pipeline {
|
||||||
|
options {
|
||||||
|
timestamps()
|
||||||
|
timeout(time: 30, unit: 'MINUTES')
|
||||||
|
}
|
||||||
triggers {
|
triggers {
|
||||||
/*
|
/*
|
||||||
* This trigger will match either the "asterisk" or "Security-asterisk"
|
* This trigger will match either the "asterisk" or "Security-asterisk"
|
||||||
|
Reference in New Issue
Block a user