Disabling saving failed containers.

We clearly don't have enough space for that, if we are to run our tests every few minutes.
We can revisit that later and automatically purge old containers for example.
pull/2238/head
Nicolas "Pixel" Noble 10 years ago
parent a7661b59d8
commit 66e358b1e0
  1. 10
      tools/jenkins/run_jenkins.sh

@ -73,15 +73,7 @@ then
DOCKER_CID=`cat docker.cid` DOCKER_CID=`cat docker.cid`
docker kill $DOCKER_CID docker kill $DOCKER_CID
docker cp $DOCKER_CID:/var/local/git/grpc/report.xml $git_root docker cp $DOCKER_CID:/var/local/git/grpc/report.xml $git_root
if [ "$DOCKER_FAILED" == "" ] docker rm $DOCKER_CID
then
echo "Docker finished successfully, deleting the container $DOCKER_CID"
docker rm $DOCKER_CID
else
echo "Docker exited with failure, keeping container $DOCKER_CID."
echo "You can SSH to the worker and use 'docker commit CID YOUR_IMAGE_NAME' and 'docker run -i -t YOUR_IMAGE_NAME bash' to debug the problem."
exit 1
fi
elif [ "$platform" == "windows" ] elif [ "$platform" == "windows" ]
then then

Loading…
Cancel
Save