Fixup folder ownership for Jenkins

This commit is contained in:
Tom Willemse 2021-07-03 01:44:47 -07:00
parent 2fd6e21e56
commit 3f7955bda0

2
Jenkinsfile vendored
View file

@ -22,7 +22,7 @@ pipeline {
// Because we're running in root, the public/ directory // Because we're running in root, the public/ directory
// isn't owned by the Jenkins user, meaning that // isn't owned by the Jenkins user, meaning that
// unstashing in a different stage fails. // 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' stash includes: 'public/**', name: 'public_html'
} }
} }