Small fix for CI cleanup

This commit is contained in:
Jamie Curnow 2024-05-21 13:16:53 +10:00
parent 6ac9a82279
commit bed387ebd4
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -198,9 +198,8 @@ pipeline {
}
post {
always {
sh 'docker-compose down --remove-orphans --volumes -t 30'
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 {
juxtapose event: 'success'