This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-benchmarks.git
The following commit(s) were added to refs/heads/main by this push:
new 496a0151 kie-issues#767: set user config for git
496a0151 is described below
commit 496a01512a4dd48fd43680067c1748d2bb8ffac6
Author: jstastny-cz <[email protected]>
AuthorDate: Thu Dec 14 11:41:41 2023 +0100
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())
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]