Skip to content

Apache Lucene open-source search software

Revert "Publish build scans to develocity.apache.org (#14140)"

Dawid Weiss905efa9e2af8
diff --git a/.github/workflows/run-checks-all.yml b/.github/workflows/run-checks-all.yml
index 7242a57dbeb..18dd308e9a7 100644
--- a/.github/workflows/run-checks-all.yml
+++ b/.github/workflows/run-checks-all.yml
@@ -13,7 +13,7 @@ on:
- 'branch_10x'
env:
- DEVELOCITY_ACCESS_KEY: ${{ DEVELOCITY_ACCESS_KEY }}
+ GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
# We split the workflow into two parallel jobs for efficiency:
# one is running all validation checks without tests,
diff --git a/.github/workflows/run-checks-gradle-upgrade.yml b/.github/workflows/run-checks-gradle-upgrade.yml
index 0eefce64a23..07b7210cf4e 100644
--- a/.github/workflows/run-checks-gradle-upgrade.yml
+++ b/.github/workflows/run-checks-gradle-upgrade.yml
@@ -20,7 +20,7 @@ on:
- 'gradle/wrapper/**'
env:
- DEVELOCITY_ACCESS_KEY: ${{ DEVELOCITY_ACCESS_KEY }}
+ GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
jobs:
gradleSanityCheck:
diff --git a/.github/workflows/run-checks-mod-analysis-common.yml b/.github/workflows/run-checks-mod-analysis-common.yml
index 8b9cde59ef4..a208039a99f 100644
--- a/.github/workflows/run-checks-mod-analysis-common.yml
+++ b/.github/workflows/run-checks-mod-analysis-common.yml
@@ -20,7 +20,7 @@ on:
- 'lucene/analysis/common/**'
env:
- DEVELOCITY_ACCESS_KEY: ${{ DEVELOCITY_ACCESS_KEY }}
+ GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
jobs:
test:
diff --git a/.github/workflows/run-checks-mod-distribution.tests.yml b/.github/workflows/run-checks-mod-distribution.tests.yml
index 646c048bdd0..e3af5812c80 100644
--- a/.github/workflows/run-checks-mod-distribution.tests.yml
+++ b/.github/workflows/run-checks-mod-distribution.tests.yml
@@ -14,7 +14,7 @@ on:
- 'branch_10x'
env:
- DEVELOCITY_ACCESS_KEY: ${{ DEVELOCITY_ACCESS_KEY }}
+ GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
jobs:
test:
diff --git a/README.md b/README.md
index c2c963ef50e..c613a16986e 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ Apache Lucene is a high-performance, full-featured text search engine library
written in Java.
[![Build Status](https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/badge/icon?subject=Lucene)](https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/)
-[![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://develocity.apache.org/scans?search.buildToolType=gradle&search.rootProjectNames=lucene-root)
+[![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://ge.apache.org/scans?search.buildToolType=gradle&search.rootProjectNames=lucene-root)
## Online Documentation
diff --git a/gradle/ge.gradle b/gradle/ge.gradle
index c4677859e33..f6bba24f23f 100644
--- a/gradle/ge.gradle
+++ b/gradle/ge.gradle
@@ -17,13 +17,13 @@
def isCIBuild = System.getenv().keySet().find { it ==~ /(?i)((JENKINS|HUDSON)(_\w+)?|CI)/ } != null
-develocity {
- server = "https://develocity.apache.org"
- projectId = "lucene"
-
+gradleEnterprise {
+ server = "https://ge.apache.org"
buildScan {
+ capture { taskInputFiles = true }
uploadInBackground = !isCIBuild
- publishing.onlyIf { it.isAuthenticated() }
+ publishAlways()
+ publishIfAuthenticated()
obfuscation {
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
}
@@ -35,7 +35,7 @@ buildCache {
enabled = !isCIBuild
}
- remote(develocity.buildCache) {
+ remote(gradleEnterprise.buildCache) {
enabled = false
}
}
diff --git a/settings.gradle b/settings.gradle
index 8543bab1619..f4ee13243ca 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -26,8 +26,8 @@ pluginManagement {
plugins {
id "org.gradle.toolchains.foojay-resolver-convention" version "0.8.0"
- id 'com.gradle.develocity' version '3.18.2'
- id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
+ id 'com.gradle.enterprise' version '3.15.1'
+ id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.11.3'
}
dependencyResolutionManagement {