Updated Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-12 16:15:43 -05:00
parent 5a74f869bb
commit 4d4c2ae3fe

4
Jenkinsfile vendored
View File

@ -48,9 +48,9 @@ pipeline {
sh "git clean -dfX"
sh "rm -rf world"
sshagent(['ce4c701d-098c-4706-8f32-c0af996a7769']) {
sh "systemctl --user stop rsemcs"
sh "ssh gamehost@entertainment 'systemctl --user stop rsemcs'"
sh "scp -r ./** gamehost@entertainment:/home/gamehost/mcserver/"
sh "systemctl --user start rsemcs"
sh "ssh gamehost@entertainment 'systemctl --user start rsemcs'"
}
}
}