diff --git a/Jenkinsfile b/Jenkinsfile index 185ec3f..9c84bae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { sshagent(['108c5045-64d1-42a6-acd7-a39da5e096d1']) { sh "git fetch" sh "git checkout -B latest-modpack" - sh "git merge --strategy-option theirs origin/develop" + sh "git merge -X theirs origin/develop" sh "chmod u+x ./scripts/*.sh" sh "./scripts/update_modpack.sh" } @@ -35,6 +35,7 @@ pipeline { sh "git add config/**" sh "git commit -a -m 'Automatic integration of latest modpack.' && exit 0" sshagent(['108c5045-64d1-42a6-acd7-a39da5e096d1']) { + sh "git pull -X theirs" sh "git push --set-upstream origin latest-modpack" } sh "git checkout develop"