From e5b13922c9af3e36e89661698c5410af64d8e43a Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 23 Jan 2024 13:17:43 +0100
Subject: [PATCH] e2e more logging

---
 alfa-client/apps/alfa-e2e/Jenkinsfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/alfa-client/apps/alfa-e2e/Jenkinsfile b/alfa-client/apps/alfa-e2e/Jenkinsfile
index 906adbe4de..05098bc162 100644
--- a/alfa-client/apps/alfa-e2e/Jenkinsfile
+++ b/alfa-client/apps/alfa-e2e/Jenkinsfile
@@ -759,8 +759,12 @@ Map createUserFromFixture(Map userFixture) {
 String getKeycloakAccessToken(String realm) {
     def userManagerApiUserCredentials = getUserManagerApiUserCredentials(realm)
 
+    echo "Keycloak ApiUser Credentials: " + userManagerApiUserCredentials
+
     def token = readJSON text: sh (script: "set +x && curl -d \"client_id=admin-cli\" -d \"username=${userManagerApiUserCredentials.user}\" -d \"password=${userManagerApiUserCredentials.password}\" -d \"grant_type=password\" https://$SSO_URL/realms/$realm/protocol/openid-connect/token", returnStdout: true)
 
+    echo "Keycloak Access Token: " + token
+
     return token.access_token
 }
 
-- 
GitLab