File tree 5 files changed +26
-19
lines changed
5 files changed +26
-19
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,13 @@ jobs:
62
62
./mvnw $MAVEN_ARGS ${{ matrix.os.maven.args }} clean install \
63
63
-Pjqassistant -Pdist -Pci-build -DskipITs
64
64
env :
65
- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
65
+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
66
+ DEVELOCITY_BASE_URL : " ${{ env.DEVELOCITY_BASE_URL || 'https://develocity.commonhaus.dev' }}"
66
67
- name : Running integration tests in the default environment
67
68
run : |
68
69
./mvnw $MAVEN_ARGS ${{ matrix.os.maven.args }} clean verify \
69
70
-Pskip-checks \
70
71
${{ github.event.pull_request.base.ref && format('-Dincremental -Dgib.referenceBranch=refs/remotes/origin/{0}', github.event.pull_request.base.ref) || '' }}
71
72
env :
72
- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
73
+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
74
+ DEVELOCITY_BASE_URL : " ${{ env.DEVELOCITY_BASE_URL || 'https://develocity.commonhaus.dev' }}"
Original file line number Diff line number Diff line change @@ -38,5 +38,8 @@ nb-configuration.xml
38
38
# Local environment
39
39
.env
40
40
41
- # Gradle Enterprise/Develocity
41
+ # Gradle Enterprise (obsolete)
42
42
/.mvn /.gradle-enterprise
43
+
44
+ # Develocity
45
+ /.mvn /.develocity
Original file line number Diff line number Diff line change 1
- <gradleEnterprise
2
- xmlns =" https://www.gradle.com/gradle-enterprise -maven" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi : schemaLocation =" https://www.gradle.com/gradle-enterprise- maven https://www.gradle.com/schema/gradle-enterprise -maven.xsd" >
1
+ <develocity
2
+ xmlns =" https://www.gradle.com/develocity -maven" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : schemaLocation =" https://www.gradle.com/develocity- maven https://www.gradle.com/schema/develocity -maven.xsd" >
4
4
<server >
5
- <url >https://ge.hibernate.org </url >
5
+ <url >#{env['DEVELOCITY_BASE_URL']?:' https://develocity.commonhaus.dev'} </url >
6
6
<allowUntrusted >false</allowUntrusted >
7
7
</server >
8
8
<buildScan >
16
16
<!--
17
17
Expression support is documented here: https://docs.gradle.com/enterprise/maven-extension/#expression_support
18
18
-->
19
+ <publishing >
20
+ <onlyIf >
21
+ <![CDATA[ authenticated]]>
22
+ </onlyIf >
23
+ </publishing >
19
24
<obfuscation >
20
- <!-- Don't share ip addresses-->
21
- <ipAddresses >#{{'0.0.0.0'}}</ipAddresses >
25
+ <!-- Don't share ip addresses-->
26
+ <ipAddresses >#{{'0.0.0.0'}}</ipAddresses >
22
27
</obfuscation >
23
28
<capture >
24
- < goalInputFiles >true</goalInputFiles >
29
+ < fileFingerprints >true</fileFingerprints >
25
30
</capture >
26
31
<!-- https://docs.gradle.com/enterprise/maven-extension/#manual_access_key_configuration -->
27
32
<backgroundBuildScanUpload >#{env['CI'] == null}</backgroundBuildScanUpload >
33
38
<remote >
34
39
<enabled >#{properties['no-build-cache'] == null}</enabled >
35
40
<storeEnabled >#{env['CI'] != null and (env['CHANGE_ID']?:'').isBlank() and (env['GITHUB_BASE_REF']?:'').isBlank() and !(env['GRADLE_ENTERPRISE_ACCESS_KEY']?:'').isBlank()}</storeEnabled >
36
- <server >
37
- <url >https://ge.hibernate.org/cache/hsearchtest01/</url >
38
- </server >
39
41
</remote >
40
42
</buildCache >
41
- </gradleEnterprise >
43
+ </develocity >
Original file line number Diff line number Diff line change 1
1
<extensions >
2
2
<extension >
3
3
<groupId >com.gradle</groupId >
4
- <artifactId >gradle-enterprise -maven-extension</artifactId >
5
- <version >1.20.1 </version >
4
+ <artifactId >develocity -maven-extension</artifactId >
5
+ <version >1.23.2 </version >
6
6
</extension >
7
7
<extension >
8
8
<groupId >com.gradle</groupId >
9
9
<artifactId >common-custom-user-data-maven-extension</artifactId >
10
- <version >1.13 </version >
10
+ <version >2.0.1 </version >
11
11
</extension >
12
12
</extensions >
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ def withMavenWorkspace(Closure body) {
7
7
artifactsPublisher(disabled : true ),
8
8
junitPublisher(disabled : true )
9
9
]) {
10
- withCredentials([string( credentialsId : ' ge.hibernate.org-access-key ' ,
11
- variable : ' GRADLE_ENTERPRISE_ACCESS_KEY ' )]) {
10
+ // These credentials can only push reports.
11
+ withCredentials([string( credentialsId : ' ge.hibernate.org-access-key-pr ' )]) {
12
12
withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline
13
13
body()
14
14
}
You can’t perform that action at this time.
0 commit comments