Commit 98db9291 authored by Samir Halilcevic's avatar Samir Halilcevic

Remove parallel

parent cad0c29c
#! /bin/bash #! /bin/bash
SCRIPT_DIR=$(dirname "$0")
BUILD_DIR=$1 BUILD_DIR=$1
AUTOBAHN_CONFIG=$(cat << EOF cat > test_config.json << EOF
{ {
"options": {}, "options": {},
"outdir": "./reports/", "outdir": "./reports/",
...@@ -17,10 +19,9 @@ AUTOBAHN_CONFIG=$(cat << EOF ...@@ -17,10 +19,9 @@ AUTOBAHN_CONFIG=$(cat << EOF
"exclude-agent-cases": {} "exclude-agent-cases": {}
} }
EOF EOF
)
"${BUILD_DIR}"/libcaf_net/caf-net-autobahn-driver -p 7788 >/dev/null & "${BUILD_DIR}"/libcaf_net/caf-net-autobahn-driver -p 7788 >/dev/null &
wstest -m fuzzingclient -s /config/fuzzingclient.json wstest -m fuzzingclient -s test_config.json
kill %1 kill %1
...@@ -167,8 +167,6 @@ pipeline { ...@@ -167,8 +167,6 @@ pipeline {
getSources(config) getSources(config)
} }
} }
stage('Build and Test') {
parallel {
stage('Build') { stage('Build') {
steps { steps {
buildParallel(config) buildParallel(config)
...@@ -176,7 +174,6 @@ pipeline { ...@@ -176,7 +174,6 @@ pipeline {
} }
stage('Autobahn Testsuite') { stage('Autobahn Testsuite') {
steps { steps {
node(docker) {
script { script {
def baseDir = pwd() def baseDir = pwd()
def sourceDir = "$baseDir/sources" def sourceDir = "$baseDir/sources"
...@@ -202,10 +199,7 @@ pipeline { ...@@ -202,10 +199,7 @@ pipeline {
sh "./sources/.ci/run.sh build '$initFile' '$sourceDir' '$buildDir'" sh "./sources/.ci/run.sh build '$initFile' '$sourceDir' '$buildDir'"
warnError('Unit Tests failed!') { warnError('Unit Tests failed!') {
sh "./sources/.ci/autobahn-testsuite/run.sh" sh "./sources/.ci/autobahn-testsuite/run.sh"
writeFile file: "build-${index}.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