2021-07-09 05:23:43 +08:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
source $(dirname $0)/common.sh
|
|
|
|
|
|
|
|
pushd git-repo > /dev/null
|
|
|
|
if [[ -d /opt/openjdk-toolchain ]]; then
|
2021-12-16 04:04:17 +08:00
|
|
|
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 systemTest -PtoolchainVersion=${TOOLCHAIN_JAVA_VERSION} -Porg.gradle.java.installations.auto-detect=false -Porg.gradle.java.installations.auto-download=false -Porg.gradle.java.installations.paths=/opt/openjdk-toolchain/
|
2021-07-09 05:23:43 +08:00
|
|
|
else
|
2021-12-16 04:04:17 +08:00
|
|
|
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 systemTest
|
2021-07-09 05:23:43 +08:00
|
|
|
fi
|
|
|
|
popd > /dev/null
|