Skip to content

Commit b5162f0

Browse files
committed
set application_credentials env variable
1 parent be5000b commit b5162f0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.kokoro/build.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,11 @@ graalvmA)
7474
# Run Unit and Integration Tests with Native Image
7575
echo "HELLOOOO"
7676
bash .kokoro/populate-secrets.sh
77-
if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then
78-
echo "HELLO1"
79-
export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS})
80-
fi
77+
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}
78+
# if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then
79+
# echo "HELLO1"
80+
# export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS})
81+
# fi
8182
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Pnative-test test -pl 'oauth2_http'
8283
RETURN_CODE=$?
8384
;;

0 commit comments

Comments
 (0)