From 718ecb261008417220bb582681cbe29beb2af76f Mon Sep 17 00:00:00 2001 From: Aleksandr Shmaraiev Date: Fri, 8 Sep 2023 11:23:01 +0300 Subject: [PATCH] Fix variable name --- .ci/openshift-ci/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/openshift-ci/common.sh b/.ci/openshift-ci/common.sh index 9722c2c8f3..fc374cd228 100644 --- a/.ci/openshift-ci/common.sh +++ b/.ci/openshift-ci/common.sh @@ -237,7 +237,7 @@ testGitCredentialsData() { userName=${GIT_PROVIDER_USERNAME} fi - gitCredential="https://${userName}:${GIT_PROVIDER_PAT}@${hostName}" + gitCredentials="https://${userName}:${GIT_PROVIDER_PAT}@${hostName}" WORKSPACE_POD_NAME=$(oc get pods -n ${OCP_USER_NAMESPACE} | grep workspace | awk '{print $1}') if oc exec -it -n ${OCP_USER_NAMESPACE} ${WORKSPACE_POD_NAME} -- cat /.git-credentials/credentials | grep -q ${gitCredentials}; then echo "[INFO] Git credentials file '/.git-credentials/credentials' exists and has the expected content."