From: George Joseph Date: Thu, 4 Oct 2018 15:13:22 +0000 (-0600) Subject: CI: Add timestamps and timeouts to jenkinsfiles X-Git-Tag: 13.24.0-rc1~65^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2065fe0c04742bb1c3c1bcb095ad1449a2034e0b;p=thirdparty%2Fasterisk.git CI: Add timestamps and timeouts to jenkinsfiles Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f --- diff --git a/tests/CI/gates.jenkinsfile b/tests/CI/gates.jenkinsfile index 1f161d756c..528a63c043 100644 --- a/tests/CI/gates.jenkinsfile +++ b/tests/CI/gates.jenkinsfile @@ -11,6 +11,10 @@ * 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" diff --git a/tests/CI/periodics-daily.jenkinsfile b/tests/CI/periodics-daily.jenkinsfile index 8c97379e07..c6412fdef1 100644 --- a/tests/CI/periodics-daily.jenkinsfile +++ b/tests/CI/periodics-daily.jenkinsfile @@ -11,6 +11,10 @@ * you can't do that in a delcarative pipeline. */ pipeline { + options { + timestamps() + timeout(time: 3, unit: 'HOURS') + } triggers { cron 'H H(0-4) * * *' } diff --git a/tests/CI/ref_debug.jenkinsfile b/tests/CI/ref_debug.jenkinsfile index 1fa86884d2..ff2d84f3a2 100644 --- a/tests/CI/ref_debug.jenkinsfile +++ b/tests/CI/ref_debug.jenkinsfile @@ -11,6 +11,10 @@ * you can't do that in a delcarative pipeline. */ pipeline { + options { + timestamps() + timeout(time: 1, unit: 'DAYS') + } triggers { cron 'H H(0-4) * * 0' } diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile index 8cf9f4ac59..239b32e9e2 100644 --- a/tests/CI/unittests.jenkinsfile +++ b/tests/CI/unittests.jenkinsfile @@ -11,6 +11,10 @@ * 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"