From b7ef993342ece16daf6953305e5a46b0fbcec608 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Thu, 30 Aug 2018 16:04:59 +0200 Subject: [PATCH] fix(ci): set 1h timeout for every build Follows upstream convention from: https://github.com/ipfs/jenkins-libs/blob/e758b80e3347a276a73cd4d463a03c0cc89995cd/vars/javascript.groovy#L212 --- ci/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index e54f99fcb..290b1aa60 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -4,7 +4,7 @@ import groovy.transform.Field @Field final String nodeVersion = '10.4.1' // Run targets in parallel -parallel( +timeout(time: 1, unit: 'HOURS') { parallel( // the 'proper' CI pipeline runs in docker "docker": { node(label: 'linux') { ws("${env.WORKSPACE}/docker") { @@ -107,5 +107,5 @@ parallel( }} }}}} } -) +)}