From b5162f0973a5b2cb3306efbfd664371d9f125c83 Mon Sep 17 00:00:00 2001 From: Mridula Peddada Date: Tue, 19 Nov 2024 21:58:27 -0500 Subject: [PATCH] set application_credentials env variable --- .kokoro/build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index ecb0bf061..90da32e62 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -74,10 +74,11 @@ graalvmA) # Run Unit and Integration Tests with Native Image echo "HELLOOOO" bash .kokoro/populate-secrets.sh - if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - echo "HELLO1" - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) - fi + export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS} +# if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then +# echo "HELLO1" +# export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) +# fi mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Pnative-test test -pl 'oauth2_http' RETURN_CODE=$? ;;