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