From 64d4a433beca90b8014eacf7a0ac5e60d798e4da Mon Sep 17 00:00:00 2001 From: Brady-Malott <55215446+Brady-Malott@users.noreply.github.com> Date: Sun, 26 Feb 2023 21:29:32 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bc2d70b..85b709a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { // Stop running microblog container (microblog label applied to microblog container by this repo's Dockerfile) sh 'docker stop $(docker ps -q --filter name=microblog) || true && docker rm $(docker ps -q --filter name=microblog) || true' // Remove all images except for jenkins - sh 'docker image prune --filter "label!=org.opencontainers.image.vendor=Jenkins project"' + sh 'docker image prune -a --filter "label!=org.opencontainers.image.vendor=Jenkins project"' } } stage('Build') {