Fixup folder ownership for Jenkins
This commit is contained in:
parent
2fd6e21e56
commit
3f7955bda0
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -22,7 +22,7 @@ pipeline {
|
|||
// Because we're running in root, the public/ directory
|
||||
// isn't owned by the Jenkins user, meaning that
|
||||
// unstashing in a different stage fails.
|
||||
sh 'chown -R $(stat -c "%u" .):$(stat -c "%g" .) public'
|
||||
sh 'chown -R $(stat -c "%u" .):$(stat -c "%g" .) .cask .org-timestamps public'
|
||||
stash includes: 'public/**', name: 'public_html'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue