Updated Jenkinsfile.
This commit is contained in:
parent
4d4c2ae3fe
commit
c90df770b7
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -48,7 +48,7 @@ pipeline {
|
||||
sh "git clean -dfX"
|
||||
sh "rm -rf world"
|
||||
sshagent(['ce4c701d-098c-4706-8f32-c0af996a7769']) {
|
||||
sh "ssh gamehost@entertainment 'systemctl --user stop rsemcs'"
|
||||
sh "ssh -o StrictHostKeyChecking=no gamehost@entertainment 'systemctl --user stop rsemcs'"
|
||||
sh "scp -r ./** gamehost@entertainment:/home/gamehost/mcserver/"
|
||||
sh "ssh gamehost@entertainment 'systemctl --user start rsemcs'"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user