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

Merge branch 'jenkinsfiles-with-spaces' into 'develop'

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

See merge request !123
parents 6b18c6d1 ba51d944
Pipeline #5490 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