Skip to content

Commit 65d1be8

Browse files
committed
Enable Build Scans on develocity.commonhaus.dev
1 parent a695cba commit 65d1be8

File tree

5 files changed

+77
-0
lines changed

5 files changed

+77
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ jobs:
9494

9595
- name: Compile project
9696
run: ./mvnw -B -ntp clean package -Pquickbuild -Dtoolchain.skip=true
97+
secrets:
98+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
9799

98100
- name: Perform CodeQL Analysis
99101
uses: github/codeql-action/analyze@v2

.github/workflows/receive-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
# Execute recipes
4444
- name: Apply OpenRewrite recipes
4545
run: ./mvnw -Dtoolchain.skip=true -Dlicense.skip=true -DskipTests=true -P openrewrite clean install
46+
secrets:
47+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
4648

4749
# Capture the diff
4850
- name: Create patch

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,4 @@ atlassian-ide-plugin.xml
6969

7070
# maven versions
7171
*.versionsBackup
72+
.mvn/.develocity/develocity-workspace-id

.mvn/develocity.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2+
<!--
3+
4+
Copyright 2012-2024 The Feign Authors
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7+
in compliance with the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software distributed under the License
12+
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13+
or implied. See the License for the specific language governing permissions and limitations under
14+
the License.
15+
16+
-->
17+
<develocity
18+
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
20+
<server>
21+
<url>https://develocity.commonhaus.dev</url>
22+
<allowUntrusted>false</allowUntrusted>
23+
</server>
24+
<projectId>feign</projectId>
25+
<buildScan>
26+
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload>
27+
<publishing>
28+
<onlyIf>authenticated</onlyIf>
29+
</publishing>
30+
<obfuscation>
31+
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
32+
</obfuscation>
33+
</buildScan>
34+
<buildCache>
35+
<local>
36+
<enabled>false</enabled>
37+
</local>
38+
<remote>
39+
<enabled>false</enabled>
40+
<storeEnabled>#{isTrue(env['CI'])}</storeEnabled>
41+
</remote>
42+
</buildCache>
43+
</develocity>

.mvn/extensions.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright 2012-2024 The Feign Authors
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7+
in compliance with the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software distributed under the License
12+
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13+
or implied. See the License for the specific language governing permissions and limitations under
14+
the License.
15+
16+
-->
17+
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18+
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
19+
<extension>
20+
<groupId>com.gradle</groupId>
21+
<artifactId>develocity-maven-extension</artifactId>
22+
<version>1.22</version>
23+
</extension>
24+
<extension>
25+
<groupId>com.gradle</groupId>
26+
<artifactId>common-custom-user-data-maven-extension</artifactId>
27+
<version>2.0</version>
28+
</extension>
29+
</extensions>

0 commit comments

Comments
 (0)