Only run checks in pipelines with JDK variants

This commit updates the build pipeline to only run the checks
(formatting and tests) with the build when non-JDK8 variants are used
for sanity checks.

See gh-22490
This commit is contained in:
Brian Clozel
2020-04-28 15:34:37 +02:00
parent 8ffc3334b4
commit 60725294e2
3 changed files with 35 additions and 6 deletions

8
ci/scripts/check-project.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -e
source $(dirname $0)/common.sh
pushd git-repo > /dev/null
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 check
popd > /dev/null