aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-pcu-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-pcu-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-pcu-test/jenkins.sh')
-rwxr-xr-xttcn3-pcu-test/jenkins.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttcn3-pcu-test/jenkins.sh b/ttcn3-pcu-test/jenkins.sh
index 8c855f1..d4e8be0 100755
--- a/ttcn3-pcu-test/jenkins.sh
+++ b/ttcn3-pcu-test/jenkins.sh
@@ -34,7 +34,7 @@ docker run --rm \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-pcu -d \
$REPO_USER/osmo-pcu-$IMAGE_SUFFIX \
- /usr/local/bin/respawn.sh osmo-pcu -c /data/osmo-pcu.cfg -i 172.18.13.10
+ /bin/sh -c "/usr/local/bin/respawn.sh osmo-pcu -c /data/osmo-pcu.cfg -i 172.18.13.10 >>/data/osmo-pcu.log 2>&1"
echo Starting container with PCU testsuite
docker run --rm \