Skip to content

Commit 2a58bd2

Browse files
Refactor GraalVM installation in build.sh
1 parent ae80b5d commit 2a58bd2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.kokoro/build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,11 @@ integration-cloud-staging)
110110
;;
111111
graalvm)
112112
# Run Unit and Integration Tests with Native Image.
113-
curl -s "https://get.sdkman.io" | bash
114-
sdk install java 25-graalce
113+
set -ex
114+
microdnf install zip
115+
curl -s "https://get.sdkman.io" | bash -e
116+
source "/root/.sdkman/bin/sdkman-init.sh"
117+
sdk install java 25-graalce -Y
115118
java -version
116119
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test "-Dtest=com.google.cloud.spanner.jdbc.it.**"
117120
RETURN_CODE=$?

0 commit comments

Comments
 (0)