From 4e234fa43e459957284341eb6f213a4147ba9bc0 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 13 May 2022 03:18:50 -0500 Subject: [PATCH] Updated Jenkinsfile. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 58afa43..8876f98 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,7 +38,7 @@ pipeline { sh "git clean -dfX" sh "git add mods/**" sh "git add config/**" - sh "git commit -m 'Automatic integration of latest modpack.' && exit 0" + sh returnStatus: true, script: "git commit -m 'Automatic integration of latest modpack.'" sshagent(['108c5045-64d1-42a6-acd7-a39da5e096d1']) { sh "git pull -X theirs origin develop" sh "git push --set-upstream origin origin/develop"