Added stop and start commands for deployment.
This commit is contained in:
parent
76d822902c
commit
ff7a9c6839
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -27,7 +27,9 @@ pipeline {
|
||||
steps {
|
||||
sh "git clean -dfX"
|
||||
sshagent(['ce4c701d-098c-4706-8f32-c0af996a7769']) {
|
||||
sh "systemctl --user stop rsemcs"
|
||||
sh "scp -r ./** gamehost@entertainment:/home/gamehost/mcserver/"
|
||||
sh "systemctl --user start rsemcs"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user