Skip to content

Commit 2f590a4

Browse files
Refactor GraalVM setup in build.sh
1 parent 6b7f07f commit 2f590a4

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
@@ -72,8 +72,11 @@ integration)
7272
;;
7373
graalvm)
7474
# Run Unit and Integration Tests with Native Image
75-
curl -s "https://get.sdkman.io" | bash
76-
sdk install java 25-graalce
75+
set -ex
76+
microdnf install zip
77+
curl -s "https://get.sdkman.io" | bash -e
78+
source "/root/.sdkman/bin/sdkman-init.sh"
79+
sdk install java 25-graalce -Y
7780
java -version
7881
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
7982
RETURN_CODE=$?

0 commit comments

Comments
 (0)