This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 54ca6f5cf2 Publish build scans to develocity.apache.org (#2141)
54ca6f5cf2 is described below
commit 54ca6f5cf2c2bfe3e764461ec38fe4357dfac8db
Author: Clay Johnson <[email protected]>
AuthorDate: Thu Jan 16 08:00:20 2025 -0600
Publish build scans to develocity.apache.org (#2141)
* Publish build scans to develocity.apache.org
* Add a projectId
* Use `DEVELOCITY_ACCESS_KEY` to authenticate to `develocity.apache.org`
---
.github/workflows/grails-joint-validation.yml | 2 +-
.github/workflows/groovy-build-coverage.yml | 2 +-
.github/workflows/groovy-build-dist.yml | 2 +-
.github/workflows/groovy-build-test.yml | 2 +-
.github/workflows/groovy-rat-check.yml | 2 +-
.github/workflows/micronaut-joint-validation.yml | 2 +-
gradle/build-scans.gradle | 3 ++-
settings.gradle | 2 +-
8 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/grails-joint-validation.yml
b/.github/workflows/grails-joint-validation.yml
index 13fe7b771c..6801b4a043 100644
--- a/.github/workflows/grails-joint-validation.yml
+++ b/.github/workflows/grails-joint-validation.yml
@@ -39,7 +39,7 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
- DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
diff --git a/.github/workflows/groovy-build-coverage.yml
b/.github/workflows/groovy-build-coverage.yml
index 25d2afd2ff..301fcbd152 100644
--- a/.github/workflows/groovy-build-coverage.yml
+++ b/.github/workflows/groovy-build-coverage.yml
@@ -28,7 +28,7 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
- DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
diff --git a/.github/workflows/groovy-build-dist.yml
b/.github/workflows/groovy-build-dist.yml
index fe303b5201..3bb8c44542 100644
--- a/.github/workflows/groovy-build-dist.yml
+++ b/.github/workflows/groovy-build-dist.yml
@@ -28,7 +28,7 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
- DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
steps:
- name: Install graphviz
run: sudo apt-get install -y graphviz
diff --git a/.github/workflows/groovy-build-test.yml
b/.github/workflows/groovy-build-test.yml
index 1c2e8465ac..b9e8d61c8f 100644
--- a/.github/workflows/groovy-build-test.yml
+++ b/.github/workflows/groovy-build-test.yml
@@ -21,7 +21,7 @@ permissions:
contents: read
env:
- DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
jobs:
lts:
diff --git a/.github/workflows/groovy-rat-check.yml
b/.github/workflows/groovy-rat-check.yml
index 31031a7987..0cd7286518 100644
--- a/.github/workflows/groovy-rat-check.yml
+++ b/.github/workflows/groovy-rat-check.yml
@@ -28,7 +28,7 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
- DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
diff --git a/.github/workflows/micronaut-joint-validation.yml
b/.github/workflows/micronaut-joint-validation.yml
index d9a14526d1..9d25a421d1 100644
--- a/.github/workflows/micronaut-joint-validation.yml
+++ b/.github/workflows/micronaut-joint-validation.yml
@@ -32,7 +32,7 @@ jobs:
fail-fast: true
runs-on: ubuntu-latest
env:
- DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
diff --git a/gradle/build-scans.gradle b/gradle/build-scans.gradle
index 0c532a0183..d33ad45799 100644
--- a/gradle/build-scans.gradle
+++ b/gradle/build-scans.gradle
@@ -21,7 +21,8 @@ def env = System.getenv()
boolean isCI = env.CI || env.TEAMCITY_VERSION || env.GITHUB_ACTIONS
develocity {
- server = "https://ge.apache.org"
+ server = "https://develocity.apache.org"
+ projectId = "groovy"
allowUntrustedServer = false
buildScan {
diff --git a/settings.gradle b/settings.gradle
index 1af2418b32..0b3493c372 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -30,7 +30,7 @@ pluginManagement {
// check https://gradle.com/enterprise/releases with new versions. GE plugin
version should not lag behind Gradle version
plugins {
- // Before updating this, please check the compatibility from
https://docs.gradle.com/enterprise/compatibility/#develocity_compatibility and
https://ge.apache.org/scans.
+ // Before updating this, please check the compatibility from
https://docs.gradle.com/enterprise/compatibility/#develocity_compatibility and
https://develocity.apache.org/scans.
id "com.gradle.develocity" version "3.18.2"
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
}