Jenkins pipeline will use auto generated merge commit now.

This commit is contained in:
Harrison Deng 2022-01-10 03:57:25 -06:00
parent c8c2ef1803
commit d3b84a8f77

3
Jenkinsfile vendored
View File

@ -31,9 +31,8 @@ pipeline {
} }
sh 'git clean -fd' sh 'git clean -fd'
sh 'git merge --strategy-option theirs --no-commit origin/delta' sh 'git merge --strategy-option theirs origin/delta'
sh 'git tag -a "L$VER_MAJOR.$VER_MINOR.$VER_PATCH" -m "Automatic publish performed by Jenkins."' sh 'git tag -a "L$VER_MAJOR.$VER_MINOR.$VER_PATCH" -m "Automatic publish performed by Jenkins."'
sh 'git commit -am "Automatically merged delta branch to master." || exit 0'
sshagent(['2e60e630-b240-4c78-87ce-cb2c33d70180']) { sshagent(['2e60e630-b240-4c78-87ce-cb2c33d70180']) {
sh 'git push origin master' sh 'git push origin master'
sh 'git push origin --tags' sh 'git push origin --tags'