From c7b7521a30e047175aa591733f8308869633d59b Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Fri, 6 Jul 2018 11:21:54 +0200 Subject: [PATCH] WIP: Use shell to run make test on Jenkins --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ff4558625a..29b2bef670 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,7 +33,8 @@ parallel_nodes(['linux && cura', 'windows && cura']) { // Try and run the unit tests. If this stage fails, we consider the build to be "unstable". stage('Unit Test') { try { - make('test') + //make('test') + sh "CTEST_OUTPUT_ON_FAILURE=1 make test" } catch(e) { currentBuild.result = "UNSTABLE" }