aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-bsc-test
diff options
context:
space:
mode:
Diffstat (limited to 'ttcn3-bsc-test')
-rwxr-xr-xttcn3-bsc-test/jenkins-sccplite.sh8
-rwxr-xr-xttcn3-bsc-test/jenkins.sh8
2 files changed, 14 insertions, 2 deletions
diff --git a/ttcn3-bsc-test/jenkins-sccplite.sh b/ttcn3-bsc-test/jenkins-sccplite.sh
index e402b33..6dac56a 100755
--- a/ttcn3-bsc-test/jenkins-sccplite.sh
+++ b/ttcn3-bsc-test/jenkins-sccplite.sh
@@ -51,7 +51,13 @@ for i in "0 1" "1 1" "2 4"; do
--name ${BUILD_TAG}-bts$1 -d \
$DOCKER_ARGS \
$REPO_USER/osmo-bts-$IMAGE_SUFFIX \
- /bin/sh -c "/usr/local/bin/respawn.sh osmo-bts-omldummy $BTS_FEATURES 172.18.12.20 $(($1 + 1234)) $2 >>/data/osmo-bts-omldummy-$1.log 2>&1"
+ /bin/sh -c "/usr/local/bin/respawn.sh \
+ osmo-bts-omldummy \
+ $BTS_FEATURES \
+ 172.18.$SUBNET.20 \
+ $(($1 + 1234)) \
+ $2 \
+ >>/data/osmo-bts-omldummy-$1.log 2>&1"
done
echo Starting container with BSC testsuite
diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh
index c018046..2138169 100755
--- a/ttcn3-bsc-test/jenkins.sh
+++ b/ttcn3-bsc-test/jenkins.sh
@@ -60,7 +60,13 @@ for i in "0 1" "1 1" "2 4"; do
--name ${BUILD_TAG}-bts$1 -d \
$DOCKER_ARGS \
$REPO_USER/osmo-bts-$IMAGE_SUFFIX \
- /bin/sh -c "/usr/local/bin/respawn.sh osmo-bts-omldummy $BTS_FEATURES 172.18.2.20 $(($1 + 1234)) $2 >>/data/osmo-bts-omldummy-$1.log 2>&1"
+ /bin/sh -c "/usr/local/bin/respawn.sh \
+ osmo-bts-omldummy \
+ $BTS_FEATURES \
+ 172.18.$SUBNET.20 \
+ $(($1 + 1234)) \
+ $2 \
+ >>/data/osmo-bts-omldummy-$1.log 2>&1"
done
echo Starting container with BSC testsuite