This is an automated email from the ASF dual-hosted git repository.

jstastnycz pushed a commit to branch radtriste-fix-pipelines
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git


The following commit(s) were added to refs/heads/radtriste-fix-pipelines by 
this push:
     new e9472065 provide correct creds
e9472065 is described below

commit e9472065bd8bff35092886155a1ad758b3d4c4a9
Author: jstastny-cz <[email protected]>
AuthorDate: Thu Nov 9 08:45:39 2023 +0100

    provide correct creds
---
 .ci/jenkins/Jenkinsfile.build-and-test | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.ci/jenkins/Jenkinsfile.build-and-test 
b/.ci/jenkins/Jenkinsfile.build-and-test
index a6c91e4b..c17be2b1 100644
--- a/.ci/jenkins/Jenkinsfile.build-and-test
+++ b/.ci/jenkins/Jenkinsfile.build-and-test
@@ -20,7 +20,7 @@ pipeline {
                     dir(getRepoName()) {
                         // TODO Test pupose
                         deleteDir()
-                        githubscm.checkoutIfExists(getRepoName(), 
getChangeAuthor(), getChangeBranch(), 'apache', getChangeTarget(), true, 
credentials = [token: getGitAuthorCredentialsId(), usernamePassword: 'kie-ci'])
+                        githubscm.checkoutIfExists(getRepoName(), 
getChangeAuthor(), getChangeBranch(), 'apache', getChangeTarget(), true, 
credentials = [token: getGitAuthorCredentialsTokenId(), usernamePassword: 
getGitAuthorCredentialsId()])
                     }
                 }
             }
@@ -124,3 +124,7 @@ String getRepoName() {
 String getGitAuthorCredentialsId() {
     return env.AUTHOR_CREDS_ID
 }
+
+String getGitAuthorTokenCredentialsId() {
+    return env.AUTHOR_TOKEN_CREDS_ID
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to