Changes to rsync
This commit is contained in:
parent
993c82dac0
commit
15154e3bab
|
@ -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/
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue