Review at  https://gerrit.osmocom.org/3165

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

Change-Id: Ibb34f07164adb175a44f460d02f54586b56a5b95
---
M contrib/jenkins.sh
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/65/3165/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index f1019e4..88eda80 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -1,4 +1,10 @@
 #!/bin/sh
+# jenkins build helper script for libosmo-abis.  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
 

-- 
To view, visit https://gerrit.osmocom.org/3165
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb34f07164adb175a44f460d02f54586b56a5b95
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>

Reply via email to