This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 81447c7c954 KAFKA-18153 remove jenkins settings from settings.gradle 
(#18026)
81447c7c954 is described below

commit 81447c7c9543d56e2fce76b861d3918d4cac6a2a
Author: Ken Huang <[email protected]>
AuthorDate: Wed Dec 4 23:14:57 2024 +0800

    KAFKA-18153 remove jenkins settings from settings.gradle (#18026)
    
    Reviewers: Chia-Ping Tsai <[email protected]>
---
 settings.gradle | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/settings.gradle b/settings.gradle
index abfeca92705..a2a7dacf1a2 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -19,24 +19,20 @@ plugins {
 }
 
 def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
-def isJenkins = System.getenv('JENKINS_URL') != null
-def isCI = isGithubActions || isJenkins
 def currentJvm = JavaVersion.current()
 
 develocity {
     server = "https://ge.apache.org";
     projectId = "kafka"
     buildScan {
-        uploadInBackground = !isCI
+        uploadInBackground = !isGithubActions
         publishing.onlyIf { it.authenticated }
         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"} }
         }
-        if (isJenkins) {
-            tag "jenkins"
-        } else if (isGithubActions) {
+        if (isGithubActions) {
             tag "github"
         } else {
             tag "local"
@@ -49,7 +45,7 @@ buildCache {
     local {
         // This allows the build cache to be used locally or on GitHub Actions.
         // Using the cache on GH should be safe since each job is run on a new 
VM
-        enabled = !isJenkins
+        enabled = true
     }
 
     remote(develocity.buildCache) {

Reply via email to