Skip to content

Commit 4d0e562

Browse files
committed
ci: Update comments
1 parent 4045b78 commit 4d0e562

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.kokoro/nightly/downstream-protobuf-source-compatibility.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ for repo in ${REPOS_UNDER_TEST//,/ }; do # Split on comma
2828
git clone "https://github.com/googleapis/$repo.git" --depth=1
2929
pushd "$repo"
3030

31-
# Compile with Java 11 and run the tests with Java 8
31+
# Compile with Java 11 and run the tests with Java 8 JVM
3232
mvn compile -T 1C
3333

34-
if [ -n "${JAVA8_HOME}" ]; then
34+
# JAVA8_HOME is set by the GH Actions CI
35+
if [ -n "${JAVA8_HOME}" ]; then
3536
surefire_opt="-Djvm=${JAVA8_HOME}/bin/java"
3637
else
38+
# Provide a default value for local executions that don't configure JAVA8_HOME
3739
surefire_opt="-Djvm=${JAVA_HOME}/bin/java"
3840
fi
3941

0 commit comments

Comments
 (0)