Skip to content

ci: restore SUREFIRE_JVM_OPT in .kokoro/build.sh - #15434

Merged
lqiu96 merged 1 commit into
mainfrom
ci/restore-surefire-jvm-opt
Dec 4, 2026
Merged

lqiu96 merged 1 commit into
mainfrom
ci/restore-surefire-jvm-opt

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Restores ${SUREFIRE_JVM_OPT:-} in .kokoro/build.sh test) (dropped in #14029) and removes literal single quotes in SUREFIRE_JVM_OPT in .github/workflows/google-auth-library-java-ci.yaml (-P !slf4j2x,slf4j2x-test) so Maven matches the slf4j2x and slf4j2x-test profiles.

This restores JDK 8 runtime execution on the standalone units-java8 jobs and SLF4J 2.x logging tests in google-auth-library-java.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the .kokoro/build.sh script to allow overriding the MAVEN_GOAL variable and introduces a new SUREFIRE_JVM_OPT environment variable to pass custom JVM options to Maven. The review feedback suggests using the ${SUREFIRE_JVM_OPT:-} expansion syntax to avoid potential unbound variable errors when the script is executed with set -u.

Comment thread .kokoro/build.sh Resolved
Comment thread .kokoro/build.sh Resolved
@lqiu96
lqiu96 force-pushed the ci/restore-surefire-jvm-opt branch from e7fa1d2 to aef62dc Compare December 4, 2026 06:29
@lqiu96 lqiu96 changed the title ci: restore SUREFIRE_JVM_OPT in build.sh and fix Spanner emulator verify goal ci: restore SUREFIRE_JVM_OPT in .kokoro/build.sh Dec 4, 2026
@lqiu96
lqiu96 marked this pull request as ready for review December 4, 2026 06:46
@lqiu96
lqiu96 requested a review from a team as a code owner December 4, 2026 06:46
@lqiu96
lqiu96 enabled auto-merge (squash) December 4, 2026 17:09
@lqiu96
lqiu96 requested a review from jinseopkim0 December 4, 2026 17:09
@lqiu96
lqiu96 merged commit 4318fac into main Dec 4, 2026
200 checks passed
@lqiu96
lqiu96 deleted the ci/restore-surefire-jvm-opt branch December 4, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants