Update Jenkinsfile

This commit is contained in:
Brady-Malott 2023-02-26 21:29:32 -05:00 committed by GitHub
parent ab761c89f2
commit 64d4a433be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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') {