aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/osmo-gsm-tester_run-rnd.sh
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-02-27 19:13:35 +0100
committerHarald Welte <laforge@gnumonks.org>2018-04-06 06:49:31 +0000
commit2f71cccf4fa870f95a86e8d6c05fcf9fdf078afc (patch)
tree6d3ef4be537700378b25a59bd36ad8a5d7657f1b /jobs/osmo-gsm-tester_run-rnd.sh
parentbe32123023092c750d223bae657f9e4bc92f3978 (diff)
jenkins: add osmo-gsm-tester_run-{prod,rnd}
Both jobs doing the actual test run on the prod or rnd tester. Change-Id: Ic1c4babc547f48402b0bcfaf38e2734e87e565f0
Diffstat (limited to 'jobs/osmo-gsm-tester_run-rnd.sh')
-rw-r--r--jobs/osmo-gsm-tester_run-rnd.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/jobs/osmo-gsm-tester_run-rnd.sh b/jobs/osmo-gsm-tester_run-rnd.sh
new file mode 100644
index 0000000..1f8a58a
--- /dev/null
+++ b/jobs/osmo-gsm-tester_run-rnd.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e -x
+
+# On our hardware, we actually use the example configuration as-is.
+export OSMO_GSM_TESTER_CONF="$PWD/osmo-gsm-tester/example"
+
+# debug: provoke a failure
+#export OSMO_GSM_TESTER_OPTS="-s debug -t fail"
+
+unlink osmo-gsm-tester/example/resources.conf || true
+ln -s resources.conf.rnd osmo-gsm-tester/example/resources.conf
+
+PATH="$PWD/osmo-gsm-tester/src:$PATH" \
+ ./osmo-gsm-tester/contrib/jenkins-run.sh