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"