Merge pull request #2090 from r2d4/remove-exited

Remove exited containers too for jenkins
pull/2091/head
Matt Rickard 2017-10-19 09:09:26 -07:00 committed by GitHub
commit ecb7a29ef1
1 changed files with 2 additions and 3 deletions

View File

@ -27,11 +27,10 @@ export BUILD_IN_DOCKER=y
export TAG=$ghprbActualCommit
export GOPATH=/var/lib/jenkins/go
make -j 16 all
# Clean up exited containers
docker kill $(docker ps -q) || true
docker rm $(docker ps -aq) || true
make -j 16 all
gsutil cp gs://minikube-builds/logs/index.html gs://minikube-builds/logs/${ghprbPullId}/index.html
# If there are ISO changes, build and upload the ISO