diff --git a/Jenkinsfile b/Jenkinsfile index 75429b3..252b227 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ pipeline { // Deploy new container sh 'docker run --name microblog -d -p 5000:5000 --rm microblog:latest' // Remove all images that don't have a container running them - sh 'docker image prune -a' + sh 'docker image prune --filter "label=org.opencontainers.image.vendor=Jenkins project"' } } stage('Selenium Tests') {