From ac3b6c3d10e7ab24bb151b1c365386218be376a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 18 Dec 2019 13:54:02 +0100 Subject: [PATCH] jenkins: add timeout to builds --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index be0efbbb..8dc6cb1a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,10 @@ pipeline { agent any - options { disableConcurrentBuilds() } + options { + disableConcurrentBuilds() + timeout(time: 10, unit: 'MINUTES') + } stages { stage('Unit Tests') { steps {