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

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-java.git


The following commit(s) were added to refs/heads/main by this push:
     new 4f9b4521 GH-515: Publish build scans to develocity.apache.org (#516)
4f9b4521 is described below

commit 4f9b45213cec5607a250f264271f512d5b27dd59
Author: Clay Johnson <[email protected]>
AuthorDate: Tue Jan 14 21:47:46 2025 -0600

    GH-515: Publish build scans to develocity.apache.org (#516)
    
    This PR migrates the Arrow project to publish Build Scans to the the new
    Develocity instance at develocity.apache.org.
    
    Additionally, this PR sets a projectId for use by Develocity.
    
    Fixes #515.
---
 .github/workflows/test.yml | 10 +++++-----
 .mvn/develocity.xml        | 15 +++++++--------
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a6157857..7841dd89 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -71,7 +71,7 @@ jobs:
       - name: Execute Docker Build
         env:
           # Enables build caching, but not strictly required
-          DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+          DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
         run: |
           docker compose run \
             -e CI=true \
@@ -107,12 +107,12 @@ jobs:
       - name: Build
         shell: bash
         env:
-          DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+          DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
         run: ci/scripts/build.sh $(pwd) $(pwd)/build
       - name: Test
         shell: bash
         env:
-          DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+          DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
         run: ci/scripts/test.sh $(pwd) $(pwd)/build
 
   windows:
@@ -138,12 +138,12 @@ jobs:
       - name: Build
         shell: bash
         env:
-          DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+          DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
         run: ci/scripts/build.sh $(pwd) $(pwd)/build
       - name: Test
         shell: bash
         env:
-          DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+          DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
         run: ci/scripts/test.sh $(pwd) $(pwd)/build
 
   integration:
diff --git a/.mvn/develocity.xml b/.mvn/develocity.xml
index df3cbccd..298f1efc 100644
--- a/.mvn/develocity.xml
+++ b/.mvn/develocity.xml
@@ -20,19 +20,18 @@
 
 -->
 <develocity xmlns="https://www.gradle.com/develocity-maven"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="https://www.gradle.com/develocity-maven 
https://www.gradle.com/schema/develocity-maven.xsd";>
+    <projectId>arrow</projectId>
     <server>
-        <url>https://ge.apache.org</url>
+        <url>https://develocity.apache.org</url>
         <allowUntrusted>false</allowUntrusted>
     </server>
     <buildScan>
-        <capture>
-            <fileFingerprints>true</fileFingerprints>
-            <buildLogging>true</buildLogging>
-            <testLogging>true</testLogging>
-        </capture>
         
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload>
-        <publishing><onlyIf>true</onlyIf></publishing>
-        <publishIfAuthenticated>true</publishIfAuthenticated>
+        <publishing>
+            <onlyIf>
+                <![CDATA[authenticated]]>
+            </onlyIf>
+        </publishing>
         <obfuscation>
             <ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
         </obfuscation>

Reply via email to