Merge pull request #6694 from priyawadhwa/cleanup-jenkins

Clean up docker volumes in jenkins common script
pull/6696/head
Medya Ghazizadeh 2020-02-19 13:21:00 -08:00 committed by GitHub
commit 1f2d3abc87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ export PATH=$PATH:"/usr/local/bin/:/usr/local/go/bin/:$GOPATH/bin"
# installing golang so we could do go get for gopogh
sudo ./installers/check_install_golang.sh "1.13.4" "/usr/local" || true
docker rm -f $(docker ps -aq) >/dev/null 2>&1 || true
docker volume prune -f || true
docker system df || true
echo ">> Starting at $(date)"
echo ""