aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-bsc-test/jenkins.sh
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-11-13 16:15:44 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-11-20 17:17:45 +0100
commitc3f157b939784f19f0337ac92ac727063c8d3452 (patch)
treed0fc97173447761f7c0307a9de51ecf5bd3b835d /ttcn3-bsc-test/jenkins.sh
parent0193073507459f51fcef1b66dc0a8cfb619fffe3 (diff)
Update ttcn3-*/jenkins.sh to log stdout+stderr of process to log file
This way we get VTY parsing failures as well as backtraces upon process crash. Related: OS#4212 Change-Id: I3d9f6de638dbc07391a32c6a0cbd469dc5adf2b5
Diffstat (limited to 'ttcn3-bsc-test/jenkins.sh')
-rwxr-xr-xttcn3-bsc-test/jenkins.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh
index af5c965..3455dc1 100755
--- a/ttcn3-bsc-test/jenkins.sh
+++ b/ttcn3-bsc-test/jenkins.sh
@@ -41,8 +41,7 @@ for i in `seq 0 2`; do
--network $NET_NAME --ip 172.18.2.10$i \
--name ${BUILD_TAG}-bts$i -d \
$REPO_USER/osmo-bts-$IMAGE_SUFFIX \
- /usr/local/bin/respawn.sh \
- osmo-bts-omldummy 172.18.2.20 $((i + 1234)) 1
+ /bin/sh -c "/usr/local/bin/respawn.sh osmo-bts-omldummy 172.18.2.20 $((i + 1234)) 1 >>/data/osmo-bts-omldummy-${i}.log 2>&1"
done
echo Starting container with BSC testsuite