Configuring minions for single use 75/2675/5
authorVanessa Rene Valderrama <[email protected]>
Tue, 6 Sep 2016 18:27:53 +0000 (13:27 -0500)
committerVanessa Rene Valderrama <[email protected]>
Tue, 6 Sep 2016 21:00:59 +0000 (16:00 -0500)
Change-Id: I6b517099f68c71f40ccf2bb192544a8035c7389f
Signed-off-by: Vanessa Rene Valderrama <[email protected]>
jjb/global-defaults.yaml
jjb/global-macros.yaml

index bf14ab5..192163d 100644 (file)
@@ -7,6 +7,8 @@
     build-num-to-keep: 40
     build-artifact-days-to-keep: -1
     build-artifact-num-to-keep: 5
+    # Timeout in minutes
+    build-timeout: 360
 
     ssh-credentials: 'jenkins-gerrit-credentials'
 
index d032bcc..ec44e9a 100644 (file)
             timeout: 360
             fail: true
 
+- wrapper:
+    # This wrapper is required for all jobs as it configures the wrappers
+    # needed by the fd.io infra.
+    name: fdio-infra-wrappers
+    wrappers:
+      - timeout:
+          type: absolute
+          timeout: '{build-timeout}'
+          timeout-var: 'BUILD_TIMEOUT'
+          fail: true
+      - jclouds:
+          single-use: True
+
 ###### TRIGGERS
 - trigger:
     name: gerrit-trigger-patch-submitted