Skip to content
Snippets Groups Projects
Commit 85116f8e authored by al.schwinn's avatar al.schwinn
Browse files

exit on build-error, more debug info

parent 2e805d81
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
set -e
echo "##############################################"
echo "configuration of build environment"
echo "##############################################"
# $WORKSPACE is the jenkins workspace, will be filled by jenkins # $WORKSPACE is the jenkins workspace, will be filled by jenkins
...@@ -6,23 +11,33 @@ export COMMON_MAKE_PATH="$WORKSPACE/../../generics/generic-makefiles" ...@@ -6,23 +11,33 @@ export COMMON_MAKE_PATH="$WORKSPACE/../../generics/generic-makefiles"
export SNAP7_BASE="$WORKSPACE/snap7/snap7-full" export SNAP7_BASE="$WORKSPACE/snap7/snap7-full"
export BOOST_HOME="$WORKSPACE/../../generics/boost_1.54.0/boost/1.54.0" export BOOST_HOME="$WORKSPACE/../../generics/boost_1.54.0/boost/1.54.0"
############################################## echo "##############################################"
echo "building snap7"
echo "##############################################"
cd snap7 cd snap7
./build.sh ./build.sh
cd .. cd ..
############################################## echo "##############################################"
echo "building silecs-communication-cpp"
echo "##############################################"
cd silecs-communication-cpp cd silecs-communication-cpp
make clean make clean
make all CPU=x86_64 -j4 make all CPU=x86_64 -j4
cd .. cd ..
############################################## echo "##############################################"
cd silecs-codegen echo "building silecs-codegen"
cd src/xml echo "##############################################"
python runTest.py cd silecs-codegen/src/xml
python runTests.py
cd ../../.. cd ../../..
############################################## echo "##############################################"
echo "building silecs-diagnostic-cpp"
echo "##############################################"
cd silecs-diagnostic-cpp cd silecs-diagnostic-cpp
make clean make clean
make CPU=x86_64 -j1 make CPU=x86_64 -j1
cd .. cd ..
############################################## echo "##############################################"
echo "build finished sucessfully"
echo "##############################################"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment