From 73ebcf2b1b7e866438e74925c680c1747e4b84ce Mon Sep 17 00:00:00 2001 From: sholdee <102821812+sholdee@users.noreply.github.com> Date: Thu, 16 Jun 2022 19:55:26 -0500 Subject: [PATCH] Add failsafe in case of hang (#465) Aborts stage if hung, which extract_assets.py seems to do on rare occasion --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7f1132bae..aacbc8f1a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,6 +8,9 @@ pipeline { stages { stage ('Build Windows') { + options { + timeout(time: 20) + } environment { MSBUILD='C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Msbuild\\Current\\Bin\\msbuild.exe' CONFIG='Release' @@ -71,6 +74,9 @@ pipeline { } } stage ('Build Linux') { + options { + timeout(time: 20) + } agent { label "SoH-Linux-Builders" }