jenkins.sh: Proper error message if local environment isn't set up

Change-Id: I5251ba148f36014f70ce2838caff70062c1a3db1
This commit is contained in:
Harald Welte
2017-07-10 15:05:03 +02:00
parent 84201d3a4b
commit 0b1b6b1f1e

View File

@@ -1,4 +1,11 @@
#!/bin/sh
# jenkins build helper script for osmo-hlr. This is how we build on jenkins.osmocom.org
if ! [ -x "$(command -v osmo-build-dep.sh)" ]; then
echo "Error: We need to have scripts/osmo-deps.sh from http://git.osmocom.org/osmo-ci/ in PATH !"
exit 2
fi
set -ex