]> 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:13:22 +0000 (09:13 -0600)
Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f

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

index 1f161d756cf5954e950164d1cd878e2653ea29b4..528a63c0434b29b2779f3e004e91d89bcdb49a94 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 8c97379e07295dee8fa11f5f3ee80a4ead527643..c6412fdef15584c861cb5bdc31d0ed144ae5b0f1 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 1fa86884d2fe0ab41587f7c4e25f1c31394e5ff7..ff2d84f3a2d3e496abde4900ff303739135d7002 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 8cf9f4ac5986ae42465604a365c50be433ceaadb..239b32e9e2b9a63d0b8ea1f2ddd879d89c211759 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"