Updated Jenkinsfile.
This commit is contained in:
parent
eda93d1085
commit
7a4c5ab388
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -27,7 +27,9 @@ pipeline {
|
||||
sh "rm -rf world"
|
||||
sshagent(['ce4c701d-098c-4706-8f32-c0af996a7769']) {
|
||||
sh "ssh -o StrictHostKeyChecking=no gamehost@entertainment 'systemctl --user stop rsemcs'"
|
||||
sh "rsync -a --update --delete-after ./** gamehost@entertainment:/home/gamehost/mcserver/"
|
||||
sh "rsync -a --update --exclude ./mods/ --exclude ./config/ ./** gamehost@entertainment:/home/gamehost/mcserver/"
|
||||
sh "rsync -a --update --delete ./mods/ gamehost@entertainment:/home/gamehost/mcserver/mods"
|
||||
sh "rsync -a --update --delete ./config/ gamehost@entertainment:/home/gamehost/mcserver/config"
|
||||
sh "ssh gamehost@entertainment 'systemctl --user start rsemcs'"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user