Add build-timeout to all template jobs 07/13807/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 22 Dec 2014 01:17:57 +0000 (20:17 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 22 Dec 2014 01:23:23 +0000 (20:23 -0500)
Change-Id: Id0cdb33d6d2997269507406bf93b7f436d37d4d0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/job.yaml.template
jjb/releng-macros.yaml

index 4fedf0bdf02b3e612b8661b09f18e587e09d51a2..84d4c9131f612a7713b66cfbfd9ddc7c7a70ea35 100644 (file)
@@ -61,6 +61,7 @@
             choosing-strategy: 'gerrit'
 
     wrappers:
+        - build-timeout
         - ssh-agent-credentials:
             user: '{ssh-credentials}'
 
             choosing-strategy: 'default'
 
     wrappers:
+        - build-timeout
         - ssh-agent-credentials:
             user: '{ssh-credentials}'
 
             branch: '{branch}'
 
     wrappers:
+        - build-timeout
         - ssh-agent-credentials:
             user: '{ssh-credentials}'
 
             branch: '{branch}'
 
     wrappers:
+        - build-timeout
         - ssh-agent-credentials:
             user: '{ssh-credentials}'
 
index 6cac01cf13b5a9907c752bd26f6a43e6276f055a..1f4b564e9d7916a6e2c8ab28a36f36b285ba7279 100644 (file)
             skip-tag: true
             choosing-strategy: '{choosing-strategy}'
 
+- wrapper:
+    name: build-timeout
+    wrappers:
+        - timeout:
+            type: elastic
+            elastic-percentage: 200
+            elastic-default-timeout: 180
+            fail: true
+
 - trigger:
     name: gerrit-trigger-patch-submitted
     triggers: