Commit da403084 authored by Floris Berendsen's avatar Floris Berendsen
Browse files

COMP: Let Jenkins use our minimum version of cmake 3.5.1 #73

parent 0cfc2814
...@@ -32,8 +32,8 @@ def updateGithubCommitStatus(build) { ...@@ -32,8 +32,8 @@ def updateGithubCommitStatus(build) {
node('lkeb-vm-test') { node('lkeb-vm-test') {
stage('Init') { stage('Init') {
tool 'CMake 3.8.0' tool 'CMake 3.5.1'
//tool 'CTest 3.8.0' does not exist, TODO find proper way //tool 'CTest 3.5.1' does not exist, TODO find proper way
sh 'rm -rf build' sh 'rm -rf build'
sh 'mkdir -p build' sh 'mkdir -p build'
} }
...@@ -47,7 +47,7 @@ node('lkeb-vm-test') { ...@@ -47,7 +47,7 @@ node('lkeb-vm-test') {
} }
stage('Build') { stage('Build') {
dir('build') { dir('build') {
sh "${ tool 'CMake 3.8.0' } ../src/SuperBuild" sh "${ tool 'CMake 3.5.1' } ../src/SuperBuild"
sh 'make clean' sh 'make clean'
sh 'make -j4' sh 'make -j4'
} }
...@@ -60,7 +60,7 @@ node('lkeb-vm-test') { ...@@ -60,7 +60,7 @@ node('lkeb-vm-test') {
timeout(45) { timeout(45) {
stage('Test') { stage('Test') {
dir('build/SuperElastix-build') { dir('build/SuperElastix-build') {
sh '../../../../tools/cmake/bin/ctest' //tool 'CTest 3.8.0' does not exist, TODO find proper way sh '../../../../tools/cmake/bin/ctest' //tool 'CTest 3.5.1' 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