CI - don't remove all other images, causing errors in new docker-compose

This commit is contained in:
Jamie Curnow 2022-08-24 07:15:28 +10:00
parent 7372319568
commit d2688cf08c

2
Jenkinsfile vendored
View File

@ -221,7 +221,7 @@ pipeline {
} }
post { post {
always { always {
sh 'docker-compose down --rmi all --remove-orphans --volumes -t 30' sh 'docker-compose down --remove-orphans --volumes -t 30'
sh 'echo Reverting ownership' sh 'echo Reverting ownership'
sh 'docker run --rm -v $(pwd):/data jc21/ci-tools chown -R $(id -u):$(id -g) /data' sh 'docker run --rm -v $(pwd):/data jc21/ci-tools chown -R $(id -u):$(id -g) /data'
} }