aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-10 15:00:00 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-27 03:52:45 +0200
commit5f4c357d19d4ab9a35ae8a1a4a6e0b850cbe02a3 (patch)
tree694e9e047f83ce2a0b88b741b134750528d5337c /contrib
parent3d9388e0b980791254604f4ca0581b201c6241bb (diff)
jenkins.sh: Proper error message if local environment isn't set up
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/jenkins.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index b4074e40a..7734965f4 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -1,4 +1,11 @@
#!/usr/bin/env bash
+# jenkins build helper script for openbsc. 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