From 15154e3bab263275576d5ccbc3dda6ed88c48037 Mon Sep 17 00:00:00 2001 From: Andy Tudhope Date: Sun, 31 Mar 2019 11:39:58 +0200 Subject: [PATCH] Changes to rsync --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index fc431b3..8ceddbb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,7 +44,7 @@ pipeline { steps { script { sshagent(credentials: ['jenkins-ssh']) { sh ''' - scp -o StrictHostKeyChecking=no -r public/. \ + rsync -e 'ssh -o StrictHostKeyChecking=no' -r --delete public/. \ jenkins@node-01.do-ams3.proxy.misc.statusim.net:/var/www/dev-nimbus/ ''' }