Commit 6bfed7b9 authored by Floris Berendsen's avatar Floris Berendsen
Browse files

COMP: #68 hardcoded path to ctest, since pipeline does not recognize 'CTest 3.8.0' as tool

TODO: find proper way like CMake tool.
parent 90d1db9d
...@@ -29,10 +29,16 @@ def updateGithubCommitStatus(build) { ...@@ -29,10 +29,16 @@ def updateGithubCommitStatus(build) {
]) ])
} }
import static groovy.io.FileType.FILES
def dir = new File(".");
def files = [];
dir.traverse(type: FILES, maxDepth: 0) { files.add(it) };
node('lkeb-vm-test') { node('lkeb-vm-test') {
stage('Init') { stage('Init') {
tool 'CMake 3.8.0' tool 'CMake 3.8.0'
tool 'CTest 3.8.0' //tool 'CTest 3.8.0' does not exist, TODO find proper way
sh 'rm -rf build' sh 'rm -rf build'
sh 'mkdir -p build' sh 'mkdir -p build'
} }
...@@ -59,7 +65,7 @@ node('lkeb-vm-test') { ...@@ -59,7 +65,7 @@ node('lkeb-vm-test') {
timeout(45) { timeout(45) {
stage('Test') { stage('Test') {
dir('build/SuperElastix-build') { dir('build/SuperElastix-build') {
sh 'ctest' sh '../../../../tools/cmake/bin/ctest' //tool 'CTest 3.8.0' does not exist, TODO find proper way
} }
} }
} }
......
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