-
Notifications
You must be signed in to change notification settings - Fork 38.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
3 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
platform: linux | ||
inputs: | ||
- name: git-repo | ||
outputs: | ||
- name: distribution-repository | ||
caches: | ||
- path: gradle | ||
params: | ||
BRANCH: | ||
CI: true | ||
GRADLE_ENTERPRISE_ACCESS_KEY: | ||
GRADLE_ENTERPRISE_CACHE_USERNAME: | ||
GRADLE_ENTERPRISE_CACHE_PASSWORD: | ||
GRADLE_ENTERPRISE_URL: https://ge.spring.io | ||
run: | ||
path: bash | ||
args: | ||
- -ec | ||
- | | ||
${PWD}/git-repo/ci/scripts/check-project.sh |