diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-07-06 12:24:54 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2018-07-06 13:36:20 +0300 |
commit | c3cd6f8052d53e8f0ef6acf944784707633140e8 (patch) | |
tree | cae71dc4e19a01d1eacf64e0c482e9755972119d /Jenkinsfile | |
parent | c7b7521a30e047175aa591733f8308869633d59b (diff) |
Restore Jenkinsfile
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 7 |
1 files changed, 1 insertions, 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" } |