Updated Jenkinsfile.
This commit is contained in:
parent
5a74f869bb
commit
4d4c2ae3fe
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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'"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user