Skip to content

Commit ddbf12d

Browse files
committed
HIB-140 Switch to access keys for develocity.commonhaus.dev
1 parent 3b43cfc commit ddbf12d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ void ciBuild(buildEnv, String args) {
238238

239239
// On untrusted nodes, we use the same access key as for PRs:
240240
// it has limited access, essentially it can only push build scans.
241-
def develocityCredentialsId = buildEnv.node ? 'ge.hibernate.org-access-key-pr' : 'ge.hibernate.org-access-key'
241+
def develocityCredentialsId = buildEnv.node ? 'develocity.commonhaus.dev-access-key-pr' : 'develocity.commonhaus.dev-access-key'
242242

243243
withCredentials([string(credentialsId: develocityCredentialsId,
244244
variable: 'DEVELOCITY_ACCESS_KEY')]) {
@@ -253,7 +253,7 @@ void ciBuild(buildEnv, String args) {
253253
tryFinally({
254254
sh "./ci/build.sh $args"
255255
}, { // Finally
256-
withCredentials([string(credentialsId: 'ge.hibernate.org-access-key-pr',
256+
withCredentials([string(credentialsId: 'develocity.commonhaus.dev-access-key-pr',
257257
variable: 'DEVELOCITY_ACCESS_KEY')]) {
258258
withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline
259259
// Don't fail a build if publishing fails

Diff for: nightly.Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,13 @@ void runBuildOnNode(String label, Closure body) {
284284
void ciBuild(buildEnv, String args) {
285285
// On untrusted nodes, we use the same access key as for PRs:
286286
// it has limited access, essentially it can only push build scans.
287-
def develocityCredentialsId = buildEnv.node ? 'ge.hibernate.org-access-key-pr' : 'ge.hibernate.org-access-key'
287+
def develocityCredentialsId = buildEnv.node ? 'develocity.commonhaus.dev-access-key-pr' : 'develocity.commonhaus.dev-access-key'
288288

289289
ciBuild(develocityCredentialsId, args)
290290
}
291291

292292
void ciBuild(String args) {
293-
ciBuild('ge.hibernate.org-access-key-pr', args)
293+
ciBuild('develocity.commonhaus.dev-access-key-pr', args)
294294
}
295295

296296
void ciBuild(String develocityCredentialsId, String args) {

0 commit comments

Comments
 (0)