From 23087bd76ed59c353321c98eb27012347b0ca431 Mon Sep 17 00:00:00 2001 From: Chris Sidebottom Date: Sun, 26 Sep 2021 14:31:51 +0000 Subject: [PATCH] [CI] Pass failFast flag to Jenkins parallel This should cause the entire parallel branch to fail if an individual job fails - freeing up executors for other jobs rather than holding them for hours. --- Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7cef4b15891a..b32a6bc1d7bd 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -205,7 +205,8 @@ def unpack_lib(name, libs) { } stage('Build') { - parallel 'BUILD: GPU': { + parallel failFast: true, + 'BUILD: GPU': { node('GPUBUILD') { ws(per_exec_ws('tvm/build-gpu')) { init_git() @@ -308,7 +309,8 @@ stage('Build') { } stage('Unit Test') { - parallel 'python3: GPU': { + parallel failFast: true, + 'python3: GPU': { if (is_docs_only_build != 1) { node('TensorCore') { ws(per_exec_ws('tvm/ut-python-gpu')) { @@ -401,7 +403,8 @@ stage('Unit Test') { } stage('Integration Test') { - parallel 'topi: GPU': { + parallel failFast: true, + 'topi: GPU': { if (is_docs_only_build != 1) { node('GPU') { ws(per_exec_ws('tvm/topi-python-gpu')) {