From e09496c6dba1b6dda742d87837851aceefe6bfc6 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Thu, 12 May 2022 22:18:03 -0500 Subject: [PATCH] Updated Jenkinsfile. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d972af5..751c9ae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -49,7 +49,7 @@ pipeline { sh "rm -rf world" sshagent(['ce4c701d-098c-4706-8f32-c0af996a7769']) { sh "ssh -o StrictHostKeyChecking=no gamehost@entertainment 'systemctl --user stop rsemcs'" - sh "scp -r ./** gamehost@entertainment:/home/gamehost/mcserver/" + sh "rsync -a --update --delete-after ./** gamehost@entertainment:/home/gamehost/mcserver/" sh "ssh gamehost@entertainment 'systemctl --user start rsemcs'" } }