From 064a3c85f9d50690a1daa54c7e6325d1d451ad83 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Wed, 10 Feb 2021 10:45:35 -0500 Subject: [PATCH] [jenkins] For failed compilation on OSX, follow up with a serial VERBOSE=1 build --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2db0c0ed..d6c6d8d5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -88,7 +88,7 @@ for (int i = 0; i < osxPlatforms.size(); i++) { /* note: this is installing into the parent (triqs) venv (install dir), which is thus shared among apps and so not be completely safe */ sh "pip3 install -U -r $srcDir/requirements.txt" sh "cmake $srcDir -DCMAKE_INSTALL_PREFIX=$installDir -DTRIQS_ROOT=$triqsDir -DBuild_Deps=Always" - sh "make -j2" + sh "make -j2 || make -j1 VERBOSE=1" catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') { try { sh "make test CTEST_OUTPUT_ON_FAILURE=1" } catch (exc) {