This commit updates the script that builds PRs to add locations to the installed JDK within the CI image. Without this change, PRs fail to build because of the recently introduced JDK21 toolchain requirement in the Spring Framework build. Closes gh-30472
10 lines
255 B
Bash
Executable File
10 lines
255 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
source $(dirname $0)/common.sh
|
|
|
|
pushd git-repo > /dev/null
|
|
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false -Porg.gradle.java.installations.fromEnv=JDK17,JDK21 \
|
|
--no-daemon --max-workers=4 check
|
|
popd > /dev/null
|