Skip to content

Commit 80c58f1

Browse files
committed
Publish Build Scans to develocity.apache.org
1 parent 5f48480 commit 80c58f1

File tree

4 files changed

+81
-0
lines changed

4 files changed

+81
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on:
3131

3232
env:
3333
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
34+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
3435

3536
jobs:
3637
build-8:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ winpkg/target
1919
.python-version
2020
/security-admin/src/main/webapp/react-webapp/node_modules
2121
**/target
22+
23+
#Develocity
24+
.mvn/.develocity/develocity-workspace-id

.mvn/develocity.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
21+
-->
22+
<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">
23+
<projectId>ranger</projectId>
24+
<server>
25+
<url>https://develocity.apache.org</url>
26+
</server>
27+
<buildScan>
28+
<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
29+
<publishing>
30+
<onlyIf><![CDATA[authenticated]]></onlyIf>
31+
</publishing>
32+
<obfuscation>
33+
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
34+
</obfuscation>
35+
</buildScan>
36+
<buildCache>
37+
<local>
38+
<enabled>#{isFalse(env['GITHUB_ACTIONS'])}</enabled>
39+
</local>
40+
<remote>
41+
<enabled>false</enabled>
42+
</remote>
43+
</buildCache>
44+
</develocity>

.mvn/extensions.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
21+
-->
22+
<extensions>
23+
<extension>
24+
<groupId>com.gradle</groupId>
25+
<artifactId>develocity-maven-extension</artifactId>
26+
<version>2.1</version>
27+
</extension>
28+
<extension>
29+
<groupId>com.gradle</groupId>
30+
<artifactId>common-custom-user-data-maven-extension</artifactId>
31+
<version>2.0.5</version>
32+
</extension>
33+
</extensions>

0 commit comments

Comments
 (0)