]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
CI: Add timestamps and timeouts to jenkinsfiles
authorGeorge Joseph <gjoseph@digium.com>
Thu, 4 Oct 2018 15:13:22 +0000 (09:13 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 4 Oct 2018 15:14:21 +0000 (10:14 -0500)
Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f

tests/CI/gates.jenkinsfile
tests/CI/periodics-daily.jenkinsfile
tests/CI/ref_debug.jenkinsfile
tests/CI/unittests.jenkinsfile

index e119f3c7aa5ddd272fe50f606bf37ccfbd37baab..ad1185cc56652735f0940c309e4d6703c88c895a 100644 (file)
  * 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"
index 3f3b7ab24c839062abdeb0ac7f3ec6eee4398000..dcd53cdde977d21f34a79e201cb432b8a551a2a1 100644 (file)
  * you can't do that in a delcarative pipeline.
  */
 pipeline {
+       options {
+               timestamps()
+               timeout(time: 3, unit: 'HOURS')
+       }
        triggers {
                cron 'H H(0-4) * * *'
        }
index d9871d315a3449f6c101b2b6b5c946e8e98a9664..7b485859cc5cefc8ac16c45a99d98e5825999927 100644 (file)
  * you can't do that in a delcarative pipeline.
  */
 pipeline {
+       options {
+               timestamps()
+               timeout(time: 1, unit: 'DAYS')
+       }
        triggers {
                cron 'H H(0-4) * * 0'
        }
index ed937f23da363ba75c612567551245997967e924..bdd517dc8245112e12c7df8fa21af774ae3db278 100644 (file)
  * 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"