Commit ba51d944 authored by Christophe Henry's avatar Christophe Henry
Browse files

Correcly change ownership of files with space in Jenkins' Docker container

parent 6b18c6d1
Pipeline #5488 passed with stage
in 0 seconds
......@@ -115,7 +115,7 @@ pipeline {
post {
cleanup {
script {
docker.image(dockerImage).inside("-u root") { sh "find . -user root -name '*' | xargs chmod 777" }
docker.image(dockerImage).inside("-u root") {sh 'find . -user root -name "*" -exec chmod 777 "{}" \\;'}
}
cleanWs()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment