From 103ddc7155c49f0376d1b44c53ccc8569496dd2d Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 30 Nov 2016 04:21:18 +0100 Subject: jenkins: add jenkins_bts_model.sh Change-Id: Ie7c32e68f789414fdf3c407c0da06cbf983f751a --- contrib/jenkins_bts_model.sh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 contrib/jenkins_bts_model.sh (limited to 'contrib') diff --git a/contrib/jenkins_bts_model.sh b/contrib/jenkins_bts_model.sh new file mode 100755 index 00000000..58eac5b1 --- /dev/null +++ b/contrib/jenkins_bts_model.sh @@ -0,0 +1,33 @@ +#!/bin/sh +bts_model="$1" + +if [ ! -d "./contrib" ]; then + echo "Run ./contrib/jenkins_bts_model.sh from the root of the osmo-bts tree" + exit 1 +fi + +set -x -e + +case "$bts_model" in + + sysmo) + ./contrib/jenkins_sysmobts.sh + ;; + + oct) + ./contrib/jenkins_oct.sh + ;; + + trx) + ./contrib/jenkins_bts_trx.sh + ;; + + oct+trx) + ./contrib/jenkins_oct_and_bts_trx.sh + ;; + + *) + set +x + echo "Unknown BTS model '$bts_model'" + ;; +esac -- cgit v1.2.3