clayburn commented on code in PR #1665:
URL: https://github.com/apache/samza/pull/1665#discussion_r1188808311
##########
settings.gradle:
##########
@@ -16,6 +16,39 @@
* specific language governing permissions and limitations
* under the License.
*/
+plugins {
+ id 'com.gradle.enterprise' version '3.13.1'
+ id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10'
+}
+
+def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
+def isJenkins = System.getenv('JENKINS_URL') != null
+def isCI = isGithubActions || 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
Review Comment:
Similar to the remote caching answer. This will not affect the scan itself.
You will see the cache disabled in the build scan.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]