Changes to rsync

This commit is contained in:
Andy Tudhope 2019-03-31 11:39:58 +02:00
parent 993c82dac0
commit 15154e3bab
No known key found for this signature in database
GPG Key ID: 02A3DFA93BF26AD2
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -44,7 +44,7 @@ pipeline {
steps { script { steps { script {
sshagent(credentials: ['jenkins-ssh']) { sshagent(credentials: ['jenkins-ssh']) {
sh ''' 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/ jenkins@node-01.do-ams3.proxy.misc.statusim.net:/var/www/dev-nimbus/
''' '''
} }