Commit c719a8b3 authored by Geoff Simmons's avatar Geoff Simmons

trackrdrd: More error-checking in the build-ci script (Jenkins builds)

parent 5837b08e
...@@ -9,20 +9,25 @@ cd $WORKSPACE/lhotse-varnish-cache ...@@ -9,20 +9,25 @@ cd $WORKSPACE/lhotse-varnish-cache
git pull origin 3.0_bestats | head -1 | grep 'Already up-to-date' git pull origin 3.0_bestats | head -1 | grep 'Already up-to-date'
if [ $? -eq 1 ]; then if [ $? -eq 1 ]; then
./autogen.sh ./autogen.sh
[[ $? -ne 0 ]] && exit 1
CFLAGS=-m64 ./configure CFLAGS=-m64 ./configure
[[ $? -ne 0 ]] && exit 1
make make
[[ $? -ne 0 ]] && exit 1
fi fi
cd $WORKSPACE/trackrdrd cd $WORKSPACE/trackrdrd
./autogen.sh ./autogen.sh
[[ $? -ne 0 ]] && exit 1
CFLAGS=-m64 ./configure VARNISHSRC=$WORKSPACE/lhotse-varnish-cache CFLAGS=-m64 ./configure VARNISHSRC=$WORKSPACE/lhotse-varnish-cache
[[ $? -ne 0 ]] && exit 1
make clean make clean
make make
[[ $? -ne 0 ]] && GLOBAL_STATUS=1 [[ $? -ne 0 ]] && exit 1
make check make check
[[ $? -ne 0 ]] && GLOBAL_STATUS=1 [[ $? -ne 0 ]] && exit 1
make clean make clean
exit $GLOBAL_STATUS
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