aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-10-09 23:18:50 -0700
committerGravatar Tom Willemse2020-10-09 23:18:50 -0700
commitd5e49d2a5c13c511750943bd8cc202cdd46f3611 (patch)
treed64ed7823999d00a5495b3ece08a06fd70337a0b
parentede65b4db290b588fabcfa905577879cbf060d10 (diff)
downloadnew-ryuslash.org-d5e49d2a5c13c511750943bd8cc202cdd46f3611.tar.gz
new-ryuslash.org-d5e49d2a5c13c511750943bd8cc202cdd46f3611.zip
Run the Deploy step as root
Running as the default user Jenkins uses it doesn’t seem to have access to wherever the artifacts from the previous steps get stored, so it fails to extract them. Hopefully running as root will let it access them.
-rw-r--r--Jenkinsfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index d5485b3..4d31891 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -34,6 +34,7 @@ pipeline {
agent {
docker {
image 'instrumentisto/rsync-ssh'
+ args '-u root --privileged'
}
}