aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index b78a819..9117a61 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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 "%u" .) public'
+ sh 'chown -R $(stat -c "%u" .):$(stat -c "%g" .) public'
stash includes: 'public/**', name: 'public_html'
}
}