Apache Lucene open-source search software
Publish build scans to develocity.apache.org (#14141)
Clay Johnson16cd779e9dc9
diff --git a/.github/workflows/run-checks-all.yml b/.github/workflows/run-checks-all.ymlindex 18dd308e9a7..fdf23e4c346 100644--- a/.github/workflows/run-checks-all.yml+++ b/.github/workflows/run-checks-all.yml@@ -13,7 +13,7 @@ on:- 'branch_10x'env:- GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}# 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.ymlindex 07b7210cf4e..b026ce96bba 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:- GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}jobs:gradleSanityCheck:diff --git a/.github/workflows/run-checks-mod-analysis-common.yml b/.github/workflows/run-checks-mod-analysis-common.ymlindex a208039a99f..5f53263b322 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:- GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}jobs:test:diff --git a/.github/workflows/run-checks-mod-distribution.tests.yml b/.github/workflows/run-checks-mod-distribution.tests.ymlindex e3af5812c80..b78db6dd946 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:- GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}jobs:test:diff --git a/README.md b/README.mdindex c613a16986e..c2c963ef50e 100644--- a/README.md+++ b/README.md@@ -23,7 +23,7 @@ Apache Lucene is a high-performance, full-featured text search engine librarywritten in Java.[](https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/)-[](https://ge.apache.org/scans?search.buildToolType=gradle&search.rootProjectNames=lucene-root)+[](https://develocity.apache.org/scans?search.buildToolType=gradle&search.rootProjectNames=lucene-root)## Online Documentationdiff --git a/gradle/ge.gradle b/gradle/ge.gradleindex f6bba24f23f..c4677859e33 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-gradleEnterprise {- server = "https://ge.apache.org"+develocity {+ server = "https://develocity.apache.org"+ projectId = "lucene"+buildScan {- capture { taskInputFiles = true }uploadInBackground = !isCIBuild- publishAlways()- publishIfAuthenticated()+ publishing.onlyIf { it.isAuthenticated() }obfuscation {ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }}@@ -35,7 +35,7 @@ buildCache {enabled = !isCIBuild}- remote(gradleEnterprise.buildCache) {+ remote(develocity.buildCache) {enabled = false}}diff --git a/settings.gradle b/settings.gradleindex f4ee13243ca..8543bab1619 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.enterprise' version '3.15.1'- id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.11.3'+ id 'com.gradle.develocity' version '3.18.2'+ id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'}dependencyResolutionManagement {