-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change publishes a build scan to ge.spring.io for every local build from an authenticated Spring committer and for CI where appropriate access tokens are available. The build will not fail if publishing fails. This change also allows the build to benefit from local and remote build caching, providing faster builds for all contributors. Additionally, the project will have access to all features of Gradle Enterprise such as: - Dashboards to view all historical build scans, along with performance trends over time - Build failure analytics for enhanced investigation and diagnosis of build failures - Test failure analytics to better understand trends and causes around slow, failing, and flaky tests
- Loading branch information
1 parent
90f892b
commit 8b9fb22
Showing
4 changed files
with
47 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ target | |
.project | ||
.classpath | ||
.idea | ||
credentials.yml | ||
credentials.yml | ||
.mvn/.gradle-enterprise |
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,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<extensions> | ||
<extension> | ||
<groupId>com.gradle</groupId> | ||
<artifactId>gradle-enterprise-maven-extension</artifactId> | ||
<version>1.19.2</version> | ||
</extension> | ||
<extension> | ||
<groupId>com.gradle</groupId> | ||
<artifactId>common-custom-user-data-maven-extension</artifactId> | ||
<version>1.12.4</version> | ||
</extension> | ||
</extensions> |
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,31 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<gradleEnterprise | ||
xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd"> | ||
<server> | ||
<url>https://ge.spring.io</url> | ||
</server> | ||
<buildScan> | ||
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> | ||
<captureGoalInputFiles>true</captureGoalInputFiles> | ||
<publishIfAuthenticated>true</publishIfAuthenticated> | ||
<obfuscation> | ||
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses> | ||
</obfuscation> | ||
</buildScan> | ||
<buildCache> | ||
<local> | ||
<enabled>true</enabled> | ||
</local> | ||
<remote> | ||
<server> | ||
<credentials> | ||
<username>${env.GRADLE_ENTERPRISE_CACHE_USERNAME}</username> | ||
<password>${env.GRADLE_ENTERPRISE_CACHE_PASSWORD}</password> | ||
</credentials> | ||
</server> | ||
<enabled>true</enabled> | ||
<storeEnabled>#{env['GRADLE_ENTERPRISE_CACHE_USERNAME'] != null and env['GRADLE_ENTERPRISE_CACHE_PASSWORD'] != null}</storeEnabled> | ||
</remote> | ||
</buildCache> | ||
</gradleEnterprise> |
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