From 55f26c0f7570ce430068123e39e7432c241c09e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Fri, 24 Apr 2020 08:49:41 +0200 Subject: [PATCH] added timeouts to master builds --- Jenkins/master-linux-pipeline/Jenkinsfile | 3 +++ Jenkins/master-windows-pipeline/Jenkinsfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Jenkins/master-linux-pipeline/Jenkinsfile b/Jenkins/master-linux-pipeline/Jenkinsfile index 9544f7d..40cfb51 100644 --- a/Jenkins/master-linux-pipeline/Jenkinsfile +++ b/Jenkins/master-linux-pipeline/Jenkinsfile @@ -22,6 +22,9 @@ pipeline { TARGET_DIR="/mnt/nfs/results/${BUILD_ID}" SCRIPT_DIR = "${WORKSPACE}/llvm-premerge-checks/scripts" } + options { + timeout(time:2, unit:'HOURS') + } stages { stage("git checkout"){ steps { diff --git a/Jenkins/master-windows-pipeline/Jenkinsfile b/Jenkins/master-windows-pipeline/Jenkinsfile index 0c849db..0abd6a6 100644 --- a/Jenkins/master-windows-pipeline/Jenkinsfile +++ b/Jenkins/master-windows-pipeline/Jenkinsfile @@ -34,6 +34,9 @@ pipeline { RESULT_DIR = "${WORKSPACE}\\results" LLVM_DIR = "${WORKSPACE}\\llvm-project" } + options { + timeout(time:2, unit:'HOURS') + } stages { stage("git checkout"){ steps {