From e945f6532fac42975468c657c3a6b368d2d0effa Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Fri, 13 Jan 2017 11:49:09 -0800 Subject: [PATCH] Update Jenkinsfile --- infra/docker-cleanup/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/docker-cleanup/Jenkinsfile b/infra/docker-cleanup/Jenkinsfile index d9c8e1fed..becb535c4 100644 --- a/infra/docker-cleanup/Jenkinsfile +++ b/infra/docker-cleanup/Jenkinsfile @@ -21,7 +21,7 @@ node { sh "docker rm \$(docker ps -a -q) || true" stage name: 'images', concurrency: 1 - sh "docker rmi \$(docker images -q -f dangling=true) || true" + sh "docker rmi -f \$(docker images -q -f dangling=true) || true" stage name: 'volumes', concurrency: 1 sh "docker volume rm \$(docker volume ls -qf dangling=true) || true"