[validation] Add job timeout 89/689/2
authorCristina Pauna <cristina.pauna@enea.com>
Tue, 14 May 2019 11:14:57 +0000 (14:14 +0300)
committerCristina Pauna <cristina.pauna@enea.com>
Tue, 14 May 2019 12:06:29 +0000 (15:06 +0300)
Currently when the jobs fail to execute (e.g jenkins slave is offline)
the job hangs indefinetly. Added a timeout for each job to prevent
this type of situation.

Change-Id: Ia3b824f92fbeea644033196599d1f20b963452bc
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
jjb/validation/validation-docker.yaml

index e7a5b63..1a8aaa9 100644 (file)
@@ -37,6 +37,7 @@
     project-type: multijob
     disabled: '{obj:disabled}'
     node: 'centos7-builder-2c-1g'
+    build-timeout: 90
 
     parameters:
       - validation-job-parameters:
@@ -92,6 +93,7 @@
     name: 'validation-docker-build-{arch_tag}-{stream}'
     disabled: '{obj:disabled}'
     node: '{slave_label}'
+    build-timeout: 75
 
     parameters:
       - validation-job-parameters:
 - job-template:
     name: 'validation-docker-manifest-{stream}'
     node: 'ubuntu1604-docker-8c-8g'
+    build-timeout: 15
 
     parameters:
       - validation-job-parameters: