Commit e18729e9 authored by Samir Halilcevic's avatar Samir Halilcevic

test 12

parent c482b659
...@@ -183,12 +183,10 @@ pipeline { ...@@ -183,12 +183,10 @@ pipeline {
} }
steps { steps {
script { script {
echo "Starting autobahn docker"
def baseDir = pwd() def baseDir = pwd()
def buildDir = "$baseDir/build" def buildDir = "$baseDir/build"
def installDir = "$baseDir/caf-install" def installDir = "$baseDir/caf-install"
def initFile = "$baseDir/init.cmake" def initFile = "$baseDir/init.cmake"
echo "Writing init.cmake file"
writeFile([ writeFile([
file: 'init.cmake', file: 'init.cmake',
text: """ text: """
...@@ -202,12 +200,10 @@ pipeline { ...@@ -202,12 +200,10 @@ pipeline {
set(CMAKE_BUILD_TYPE "release" CACHE STRING "") set(CMAKE_BUILD_TYPE "release" CACHE STRING "")
""" """
]) ])
echo "start build" sh "rm -rf '$buildDir'"
sh "./.ci/run.sh build '$initFile' '$baseDir' '$buildDir'" sh "./.ci/run.sh build '$initFile' '$baseDir' '$buildDir'"
warnError('Unit Tests failed!') { catchError('Autobahn Tests failed!') {
echo "Starting Autobahn Testsuite"
sh "./.ci/autobahn-testsuite/run.sh $buildDir" sh "./.ci/autobahn-testsuite/run.sh $buildDir"
writeFile file: "build-autobahn.success", text: "success\n"
} }
} }
} }
......
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