From c3cd6f8052d53e8f0ef6acf944784707633140e8 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Fri, 6 Jul 2018 11:24:54 +0200 Subject: [PATCH] Restore Jenkinsfile --- Jenkinsfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 29b2bef670..de62b7ed5a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,6 @@ parallel_nodes(['linux && cura', 'windows && cura']) { timeout(time: 2, unit: "HOURS") { - environment { - CTEST_OUTPUT_ON_FAILURE = '1' - } - // Prepare building stage('Prepare') { // Ensure we start with a clean build directory. @@ -33,8 +29,7 @@ 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') - sh "CTEST_OUTPUT_ON_FAILURE=1 make test" + make('test') } catch(e) { currentBuild.result = "UNSTABLE" }