mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Setting the `systemTest` Gradle task output as never up-to-date ensures that all system tests are executed each time they are run in CI. The `--rerun-tasks` Gradle option that was used previously had the same effect but also disabled build caching. Closes gh-29029
13 lines
574 B
Bash
Executable File
13 lines
574 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
source $(dirname $0)/common.sh
|
|
|
|
pushd git-repo > /dev/null
|
|
if [[ -d /opt/openjdk-toolchain ]]; then
|
|
./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/
|
|
else
|
|
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 systemTest
|
|
fi
|
|
popd > /dev/null
|