From 9084933edd8d2bddee80533b144d6db60f2eaf5a Mon Sep 17 00:00:00 2001 From: Victoria Cherkas <87643948+victoria-cherkas@users.noreply.github.com> Date: Thu, 7 Sep 2023 10:20:08 +0200 Subject: [PATCH] Update Jenkinsfile with time limit --- testsuite/Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testsuite/Jenkinsfile b/testsuite/Jenkinsfile index 2a75eb9..0f1a9bc 100644 --- a/testsuite/Jenkinsfile +++ b/testsuite/Jenkinsfile @@ -54,6 +54,9 @@ pipeline { } stages { stage('setup miniconda') { + options { + timeout(time: 10, unit: 'SECONDS') + } environment { PATH = "$WORKSPACE/miniconda_$NODE_NAME/bin:$PATH" } @@ -72,6 +75,9 @@ pipeline { } } stage('run tests') { + options { + timeout(time: 10, unit: 'MINUTES') + } environment { PATH = "$WORKSPACE/miniconda_${NODE_NAME}/bin:$PATH" }