Skip to content

Commit ffa6dfa

Browse files
authored
chore: fix kokoro windows java 8 ci by setting JAVA11_HOME env variable (#2207)
* chore: fix kokoro windows java 8 ci by setting JAVA11_HOME env variable
1 parent 02973d3 commit ffa6dfa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.kokoro/build.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@
1515
:: downstream client libraries before they are released.
1616
:: See documentation in type-shell-output.bat
1717

18-
"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh
18+
choco install -y openjdk11
19+
set JAVA11_HOME=C:\Program Files\Eclipse Adoptium\jdk-11.0.17.8-hotspot\
20+
21+
"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh

owlbot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
".kokoro/nightly/java8-samples.cfg",
2929
".kokoro/nightly/java11-samples.cfg",
3030
".kokoro/nightly/samples.cfg",
31+
".kokoro/build.bat",
3132
".kokoro/presubmit/common.cfg",
3233
".kokoro/presubmit/java8-samples.cfg",
3334
".kokoro/presubmit/java11-samples.cfg",

0 commit comments

Comments
 (0)