This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch kie-issues_755
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-operator.git
The following commit(s) were added to refs/heads/kie-issues_755 by this push:
new 557668ad set user config for git
557668ad is described below
commit 557668ad54cb6884633787a4a976e0b65569e522
Author: jstastny-cz <[email protected]>
AuthorDate: Thu Dec 14 11:36:28 2023 +0100
set user config for git
---
.ci/jenkins/Jenkinsfile.deploy | 2 +-
.ci/jenkins/Jenkinsfile.setup-branch | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index 8f8075b6..147c659b 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -93,7 +93,7 @@ pipeline {
steps {
script {
sh "make bump-version
new_version=${helper.getProjectVersion()}"
-
+ githubscm.setUserConfigFromCreds(getGitAuthorPushCredsId())
githubscm.commitChanges("Update project version to
${helper.getProjectVersion()}", {
sh '''
git add .
diff --git a/.ci/jenkins/Jenkinsfile.setup-branch
b/.ci/jenkins/Jenkinsfile.setup-branch
index baf43b2a..f8335e73 100644
--- a/.ci/jenkins/Jenkinsfile.setup-branch
+++ b/.ci/jenkins/Jenkinsfile.setup-branch
@@ -67,6 +67,7 @@ pipeline {
git checkout -- go.sum
'''
if (githubscm.isThereAnyChanges()) {
+
githubscm.setUserConfigFromCreds(getGitAuthorPushCredsId())
githubscm.commitChanges("[${helper.getBuildBranch()}]
Update version to ${helper.getProjectVersion()}", {
sh '''
git add .
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]