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') {
dir('build') {
sh "${ cmake } ../src/SuperBuild"
sh 'make clean'
// Jenkins should continue, even when the build fails, so always evaluate as true:
sh 'make -j4 || true'
sh 'make Continuous'
}
}
dir('src') {
......@@ -61,7 +60,6 @@ node('lkeb-vm-test') {
stage('Test') {
dir('build/SuperElastix-build') {
sh "`dirname ${ cmake }`/ctest"
sh 'make Continuous'
}
}
}
......
......@@ -177,6 +177,8 @@ else()
include( ExternalGoogleTest )
endif()
include (CTest)
# ---------------------------------------------------------------------
# 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