You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by be...@apache.org on 2023/06/20 07:46:48 UTC
[tapestry-5] branch master updated: Capture build scans on ge.apache.org to benefit from deep build insights (#41)
This is an automated email from the ASF dual-hosted git repository.
benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push:
new 815390fc8 Capture build scans on ge.apache.org to benefit from deep build insights (#41)
815390fc8 is described below
commit 815390fc8f9f6c7deb6084195c3849f11c04d05a
Author: Clay Johnson <cj...@gradle.com>
AuthorDate: Tue Jun 20 02:46:43 2023 -0500
Capture build scans on ge.apache.org to benefit from deep build insights (#41)
---
settings.gradle | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/settings.gradle b/settings.gradle
index f31e79759..bc0214947 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,3 +1,37 @@
+plugins {
+ id 'com.gradle.enterprise' version '3.13.2'
+ id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10'
+}
+
+def isTravisCI = System.getenv('TRAVIS_JOB_ID') != null
+def isJenkins = System.getenv('JENKINS_URL') != null
+def isCI = isTravisCI || isJenkins
+
+gradleEnterprise {
+ server = "https://ge.apache.org"
+ buildScan {
+ capture { taskInputFiles = true }
+ uploadInBackground = !isCI
+ publishAlways()
+ publishIfAuthenticated()
+ obfuscation {
+ // This obfuscates the IP addresses of the build machine in the build scan.
+ // Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
+ ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
+ }
+ }
+}
+
+buildCache {
+ local {
+ enabled = !isCI
+ }
+
+ remote(gradleEnterprise.buildCache) {
+ enabled = false
+ }
+}
+
include "plastic", "tapestry5-annotations", "tapestry-test", "tapestry-func", "tapestry-ioc", "tapestry-json", "tapestry-http", "tapestry-core"
include "tapestry-hibernate-core", "tapestry-hibernate", "tapestry-jmx", "tapestry-upload", "tapestry-spring"
include "tapestry-beanvalidator", "tapestry-jpa", "tapestry-kaptcha"