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:
parent
ede65b4db2
commit
d5e49d2a5c
1 changed files with 1 additions and 0 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -34,6 +34,7 @@ pipeline {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'instrumentisto/rsync-ssh'
|
image 'instrumentisto/rsync-ssh'
|
||||||
|
args '-u root --privileged'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue