Updated Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-12 15:59:40 -05:00
parent 2c425e5678
commit 5a74f869bb

2
Jenkinsfile vendored
View File

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