From: Cristina Pauna Date: Tue, 14 May 2019 11:14:57 +0000 (+0300) Subject: [validation] Add job timeout X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=61e3624ffd3c9f9f61c0ade14c932114345cd0eb;p=ci-management.git [validation] Add job timeout 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 --- diff --git a/jjb/validation/validation-docker.yaml b/jjb/validation/validation-docker.yaml index e7a5b63..1a8aaa9 100644 --- a/jjb/validation/validation-docker.yaml +++ b/jjb/validation/validation-docker.yaml @@ -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: @@ -127,6 +129,7 @@ - job-template: name: 'validation-docker-manifest-{stream}' node: 'ubuntu1604-docker-8c-8g' + build-timeout: 15 parameters: - validation-job-parameters: