Updated Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-12 22:18:03 -05:00
parent eddd3b8d9a
commit e09496c6db

2
Jenkinsfile vendored
View File

@ -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'"
}
}