Commit c7831311 authored by Niels Dekker's avatar Niels Dekker
Browse files

BUG: Now trying Continuous build at SuperBuild level. w/ Floris.

parent ef9850e3
...@@ -48,8 +48,7 @@ node('lkeb-vm-test') { ...@@ -48,8 +48,7 @@ node('lkeb-vm-test') {
dir('build') { dir('build') {
sh "${ cmake } ../src/SuperBuild" sh "${ cmake } ../src/SuperBuild"
sh 'make clean' sh 'make clean'
// Jenkins should continue, even when the build fails, so always evaluate as true: sh 'make Continuous'
sh 'make -j4 || true'
} }
} }
dir('src') { dir('src') {
...@@ -61,7 +60,6 @@ node('lkeb-vm-test') { ...@@ -61,7 +60,6 @@ node('lkeb-vm-test') {
stage('Test') { stage('Test') {
dir('build/SuperElastix-build') { dir('build/SuperElastix-build') {
sh "`dirname ${ cmake }`/ctest" sh "`dirname ${ cmake }`/ctest"
sh 'make Continuous'
} }
} }
} }
......
...@@ -177,6 +177,8 @@ else() ...@@ -177,6 +177,8 @@ else()
include( ExternalGoogleTest ) include( ExternalGoogleTest )
endif() endif()
include (CTest)
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
# Installation # Installation
......
## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
##
## # The following are required to submit to the CDash dashboard:
## ENABLE_TESTING()
## INCLUDE(CTest)
set(CTEST_PROJECT_NAME "SuperElastix")
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "my.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=SuperElastix")
set(CTEST_DROP_SITE_CDASH TRUE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment