Skip to content
Snippets Groups Projects
Commit 882db4dc authored by Sjoerd Simons's avatar Sjoerd Simons
Browse files

Do an actual upload rather then just debug print


Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
parent 001f9a3b
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ def uploadDirectory(source, target, upload = true) {
env.NSS_WRAPPER_PASSWD = "/tmp/passwd"
env.NSS_WRAPPER_GROUP = '/dev/null'
sh(script: 'echo docker:x:$(id -u):$(id -g):docker gecos:/tmp:/bin/false > ${NSS_WRAPPER_PASSWD}')
sh(script: "LD_PRELOAD=libnss_wrapper.so echo rsync -e \"ssh -oStrictHostKeyChecking=no\" -aP ${source} archive@images.apertis.org:/srv/images/public/${target}/")
sh(script: "LD_PRELOAD=libnss_wrapper.so rsync -e \"ssh -oStrictHostKeyChecking=no\" -aP ${source} archive@images.apertis.org:/srv/images/public/${target}/")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment