From c90df770b7a1a6e9fa78261b77ed4adce4ab965b Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Thu, 12 May 2022 16:34:02 -0500 Subject: [PATCH] Updated Jenkinsfile. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0406ed5..d972af5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'" }