Updated Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-13 03:15:43 -05:00
parent 3633c4cee8
commit 3c87d3b8a8

2
Jenkinsfile vendored
View File

@ -38,7 +38,7 @@ pipeline {
sh "git clean -dfX" sh "git clean -dfX"
sh "git add mods/**" sh "git add mods/**"
sh "git add config/**" sh "git add config/**"
sh "git commit -a -m 'Automatic integration of latest modpack.' && exit 0" sh "git commit -m 'Automatic integration of latest modpack.' && exit 0"
sshagent(['108c5045-64d1-42a6-acd7-a39da5e096d1']) { sshagent(['108c5045-64d1-42a6-acd7-a39da5e096d1']) {
sh "git pull -X theirs origin develop" sh "git pull -X theirs origin develop"
sh "git push --set-upstream origin origin/develop" sh "git push --set-upstream origin origin/develop"