Skip to content

Commit 0895049

Browse files
committed
Switch to the Commonhaus Develocity instance
1 parent ae76835 commit 0895049

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.mvn/develocity.xml

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
44
<server>
5-
<url>https://ge.hibernate.org</url>
5+
<url>https://develocity.commonhaus.dev</url>
66
<allowUntrusted>false</allowUntrusted>
77
</server>
88
<buildScan>
@@ -38,9 +38,6 @@
3838
<remote>
3939
<enabled>#{properties['no-build-cache'] == null}</enabled>
4040
<storeEnabled>#{env['CI'] != null and (env['CHANGE_ID']?:'').isBlank() and (env['GITHUB_BASE_REF']?:'').isBlank() and !(env['GRADLE_ENTERPRISE_ACCESS_KEY']?:'').isBlank()}</storeEnabled>
41-
<server>
42-
<url>https://ge.hibernate.org/cache/hsearchtest01/</url>
43-
</server>
4441
</remote>
4542
</buildCache>
4643
</develocity>

Jenkinsfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ def withMavenWorkspace(Closure body) {
55
artifactsPublisher(disabled: true),
66
junitPublisher(disabled: true)
77
]) {
8-
withCredentials([string(credentialsId: 'ge.hibernate.org-access-key',
8+
def develocityMainCredentialsId = helper.configuration.file?.develocity?.credentials?.main
9+
withCredentials([string(credentialsId: develocityMainCredentialsId,
910
variable: 'DEVELOCITY_ACCESS_KEY')]) {
1011
withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline
1112
body()

0 commit comments

Comments
 (0)