From f74fb1c47371ddf8ad600a839527cf3217e64ef4 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Mon, 9 Sep 2024 15:14:04 -0400 Subject: [PATCH] chore: Test script --- .kokoro/build.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 562832a9d..478a034b8 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -48,10 +48,10 @@ echo "The latest proto version is: ${LATEST_PROTO_VERSION}" if [[ "${CURRENT_PROTO_VERSION}" != "${LATEST_PROTO_VERSION}" ]]; then # testing-infra-docker has Java 11 installed in java8 docker container. Use this as sdk-platform-java # needs Java 11+ to run with GraalVM. For GH actions, JAVA11_HOME does not exist and would skip this. - if [ ! -z "${JAVA11_HOME}" ]; then - export JAVA_HOME="${JAVA11_HOME}" - export PATH=${JAVA_HOME}/bin:$PATH - fi +# if [ ! -z "${JAVA11_HOME}" ]; then +# export JAVA_HOME="${JAVA11_HOME}" +# export PATH=${JAVA_HOME}/bin:$PATH +# fi pushd /tmp git clone https://github.com/googleapis/sdk-platform-java.git @@ -97,9 +97,9 @@ if [[ "${CURRENT_PROTO_VERSION}" != "${LATEST_PROTO_VERSION}" ]]; then fi done - # Reset back to the original Java version if changed - export JAVA_HOME="${current_java_home}" - export PATH=${JAVA_HOME}/bin:$PATH +# # Reset back to the original Java version if changed +# export JAVA_HOME="${current_java_home}" +# export PATH=${JAVA_HOME}/bin:$PATH fi # attempt to install 3 times with exponential backoff (starting with 10 seconds)