Commit 5bc05e02 authored by Samir Halilcevic's avatar Samir Halilcevic

test 5

parent 4e2a365f
...@@ -182,12 +182,10 @@ pipeline { ...@@ -182,12 +182,10 @@ pipeline {
script { script {
echo "Starting autobahn docker" echo "Starting autobahn docker"
def baseDir = pwd() def baseDir = pwd()
def sourceDir = "$baseDir/sources"
def buildDir = "$baseDir/build" def buildDir = "$baseDir/build"
def installDir = "$baseDir/autobahn" def installDir = "$baseDir/../autobahn"
def initFile = "$baseDir/init.cmake" def initFile = "$baseDir/init.cmake"
def init = new StringBuilder() echo "Writing init.cmake file"
echo "Writing file"
writeFile([ writeFile([
file: 'init.cmake', file: 'init.cmake',
text: """ text: """
...@@ -202,12 +200,10 @@ pipeline { ...@@ -202,12 +200,10 @@ pipeline {
""" """
]) ])
echo "start build" echo "start build"
sh "ls .." sh "./.ci/run.sh build '$initFile' '$baseDir' '$buildDir'"
sh "ls"
sh "./.ci/run.sh build '$initFile' '$sourceDir' '$buildDir'"
warnError('Unit Tests failed!') { warnError('Unit Tests failed!') {
echo "start build" echo "start build"
sh "./sources/.ci/autobahn-testsuite/run.sh $buildDir" sh "./.ci/autobahn-testsuite/run.sh $buildDir"
writeFile file: "build-autobahn.success", text: "success\n" 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