diff --git a/infra/docker-cleanup/Jenkinsfile b/infra/docker-cleanup/Jenkinsfile index db7d932d4..a9ebd28ba 100644 --- a/infra/docker-cleanup/Jenkinsfile +++ b/infra/docker-cleanup/Jenkinsfile @@ -17,12 +17,16 @@ // Jenkins build script for periodic docker images cleanup. node { - stage name: 'Cleanup Processes', concurrency: 1 + stage name: 'processes', concurrency: 1 sh "docker rm \$(docker ps -a -q) || true" - stage name: 'Cleanup Images', concurrency: 1 + stage name: 'images', concurrency: 1 sh "docker rmi \$(docker images -q -f dangling=true) || true" + stage name: 'volumes', concurrency: 1 + sh "docker volume rm $(docker volume ls -qf dangling=true) || true" + + stage name: 'info', concurrency: 1 sh "docker info" sh "df -h" }