fix jenkins build: add contrib/jenkins.sh expected by jobs

Change-Id: I1ef4b9ce3080ce9cad9ed92ead01619b0d6f91f4
This commit is contained in:
Neels Hofmeyr 2018-01-16 15:14:05 +01:00
parent 6dcd9cab36
commit 1ebab44b6f
1 changed files with 21 additions and 0 deletions

21
contrib/jenkins.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
# jenkins build helper script for asn1c. This is how we build on jenkins.osmocom.org
set -ex
osmo-clean-workspace.sh
set +x
echo
echo
echo
echo " =============================== asn1c ==============================="
echo
set -x
./configure # CFLAGS="-Werror" CPPFLAGS="-Werror" #-Werror currently broken
$MAKE $PARALLEL_MAKE
$MAKE check
#$MAKE distcheck # distcheck currently broken
osmo-clean-workspace.sh