Skip to content

Commit 8353a01

Browse files
authored
RATIS-2239. Publish build scans to develocity.apache.org (#1212)
1 parent 72c920c commit 8353a01

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ jobs:
156156
run: |
157157
dev-support/checks/${{ inputs.script }}.sh ${{ inputs.script-args }}
158158
env:
159+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
159160
WITH_COVERAGE: ${{ inputs.with-coverage }}
160161

161162
- name: Summary of failures

.mvn/develocity.xml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,25 @@
2222
<develocity
2323
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2424
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
25+
<projectId>ratis</projectId>
26+
<server>
27+
<url>https://develocity.apache.org</url>
28+
<allowUntrusted>false</allowUntrusted>
29+
</server>
2530
<buildScan>
2631
<capture>
27-
<fileFingerprints>false</fileFingerprints>
28-
<buildLogging>false</buildLogging>
29-
<testLogging>false</testLogging>
32+
<fileFingerprints>true</fileFingerprints>
33+
<buildLogging>true</buildLogging>
34+
<testLogging>true</testLogging>
3035
<resourceUsage>false</resourceUsage>
3136
</capture>
37+
<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
3238
<publishing>
33-
<onlyIf>false</onlyIf>
39+
<onlyIf><![CDATA[authenticated]]></onlyIf>
3440
</publishing>
41+
<obfuscation>
42+
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
43+
</obfuscation>
3544
</buildScan>
3645
<buildCache>
3746
<local>

.mvn/extensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<extension>
2525
<groupId>com.gradle</groupId>
2626
<artifactId>develocity-maven-extension</artifactId>
27-
<version>1.23</version>
27+
<version>1.22.2</version>
2828
</extension>
2929
<extension>
3030
<groupId>com.gradle</groupId>

0 commit comments

Comments
 (0)