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.
This commit is contained in:
Tom Willemse 2020-10-09 23:18:50 -07:00
parent ede65b4db2
commit d5e49d2a5c

1
Jenkinsfile vendored
View file

@ -34,6 +34,7 @@ pipeline {
agent { agent {
docker { docker {
image 'instrumentisto/rsync-ssh' image 'instrumentisto/rsync-ssh'
args '-u root --privileged'
} }
} }