Don't fail a build on failure to kill a docker instance

It's quite ok for a docker instance to already be dead.
pull/3056/head
Craig Tiller 9 years ago
parent 03d281ab1b
commit 43fef09aec
  1. 3
      tools/jenkins/run_jenkins.sh

@ -89,8 +89,9 @@ then
bash -l /var/local/jenkins/grpc/tools/jenkins/docker_run_jenkins.sh || DOCKER_FAILED="true" bash -l /var/local/jenkins/grpc/tools/jenkins/docker_run_jenkins.sh || DOCKER_FAILED="true"
DOCKER_CID=`cat docker.cid` DOCKER_CID=`cat docker.cid`
docker kill $DOCKER_CID docker kill $DOCKER_CID || true
docker cp $DOCKER_CID:/var/local/git/grpc/report.xml $git_root docker cp $DOCKER_CID:/var/local/git/grpc/report.xml $git_root
# TODO(ctiller): why?
sleep 4 sleep 4
docker rm $DOCKER_CID || true docker rm $DOCKER_CID || true
elif [ "$platform" == "interop" ] elif [ "$platform" == "interop" ]

Loading…
Cancel
Save