Small fix for CI cleanup

This commit is contained in:
Jamie Curnow 2024-05-21 13:16:53 +10:00
parent 6ac9a82279
commit bed387ebd4

3
Jenkinsfile vendored
View File

@ -198,9 +198,8 @@ pipeline {
} }
post { post {
always { always {
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'
} }
success { success {
juxtapose event: 'success' juxtapose event: 'success'