ttcn3-fr-test/jenkins.sh: revert docker run --rm

Revert the change of adding a --rm to the "docker run" commands done in
I48b01c43fedf379b8a565eaab0369806d7831bd8.

This script runs the containers in the background, waits until they are
done, copies the logs and then removes them afterwards.

Fix for:
  + docker kill jenkins-ttcn3-fr-test-384-frnet
  jenkins-ttcn3-fr-test-384-frnet
  + docker logs --timestamps jenkins-ttcn3-fr-test-384-ttcn3-fr-test
  Error: No such container: jenkins-ttcn3-fr-test-384-ttcn3-fr-test

Change-Id: I56dc07820ccfa8ad6936764262a7c6c272e59c37
This commit is contained in:
Oliver Smith 2022-02-22 11:57:18 +01:00
parent 107e1b9bca
commit 0f63ef4b6d
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ mkdir $VOL_BASE_DIR/unix
echo Starting container with FRNET
docker run \
--rm \
`# --rm is done in below` \
--cap-add=NET_RAW --cap-add=SYS_RAWIO \
$(docker_network_params $SUBNET 10) \
--ulimit core=-1 \
@ -45,7 +45,7 @@ done
echo Starting container with FR testsuite
docker run \
--rm \
`# --rm is done in below` \
--cap-add=NET_RAW --cap-add=SYS_RAWIO \
$(docker_network_params $SUBNET 103) \
--ulimit core=-1 \