Skip to content

Commit

Permalink
kie-issues#767: set user config for git
Browse files Browse the repository at this point in the history
  • Loading branch information
jstastny-cz committed Dec 14, 2023
1 parent bb753e6 commit ba3c93b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .ci/jenkins/Jenkinsfile.bump-up-version
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ void checkoutRepo(String repository, String branch) {

String commitAndCreatePR(String commitMsg, String localBranch, String targetBranch) {
def prBody = "Generated by build ${BUILD_TAG}: ${BUILD_URL}"
githubscm.setUserConfigFromCreds(getGitAuthorPushCredsId())
githubscm.commitChanges(commitMsg)
githubscm.pushObject('origin', localBranch, getGitAuthorCredsId())
return githubscm.createPR(commitMsg, prBody, targetBranch,getGitAuthorCredsId())
Expand Down

0 comments on commit ba3c93b

Please sign in to comment.