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:
parent
107e1b9bca
commit
0f63ef4b6d
|
@ -25,7 +25,7 @@ mkdir $VOL_BASE_DIR/unix
|
||||||
|
|
||||||
echo Starting container with FRNET
|
echo Starting container with FRNET
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
`# --rm is done in below` \
|
||||||
--cap-add=NET_RAW --cap-add=SYS_RAWIO \
|
--cap-add=NET_RAW --cap-add=SYS_RAWIO \
|
||||||
$(docker_network_params $SUBNET 10) \
|
$(docker_network_params $SUBNET 10) \
|
||||||
--ulimit core=-1 \
|
--ulimit core=-1 \
|
||||||
|
@ -45,7 +45,7 @@ done
|
||||||
|
|
||||||
echo Starting container with FR testsuite
|
echo Starting container with FR testsuite
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
`# --rm is done in below` \
|
||||||
--cap-add=NET_RAW --cap-add=SYS_RAWIO \
|
--cap-add=NET_RAW --cap-add=SYS_RAWIO \
|
||||||
$(docker_network_params $SUBNET 103) \
|
$(docker_network_params $SUBNET 103) \
|
||||||
--ulimit core=-1 \
|
--ulimit core=-1 \
|
||||||
|
|
Loading…
Reference in New Issue