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