From 496a01512a4dd48fd43680067c1748d2bb8ffac6 Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Thu, 14 Dec 2023 11:41:41 +0100 Subject: [PATCH] kie-issues#767: set user config for git --- .ci/jenkins/Jenkinsfile.bump-up-version | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/jenkins/Jenkinsfile.bump-up-version b/.ci/jenkins/Jenkinsfile.bump-up-version index 52ce6925..3c30d297 100644 --- a/.ci/jenkins/Jenkinsfile.bump-up-version +++ b/.ci/jenkins/Jenkinsfile.bump-up-version @@ -92,6 +92,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, getGitAuthorPushCredsId()) return githubscm.createPR(commitMsg, prBody, targetBranch,getGitAuthorCredsId())