From 09ca90c872030daed070dc56f51d4cddd0b861ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Fri, 26 Apr 2024 13:51:35 +0200 Subject: [PATCH] Use the new env variable name (DEVELOCITY_ACCESS_KEY) for Develocity credentials --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 143343aa20..908d8289c4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -244,7 +244,7 @@ void ciBuild(buildEnv, String args) { def develocityCredentialsId = buildEnv.node ? 'ge.hibernate.org-access-key-pr' : 'ge.hibernate.org-access-key' withCredentials([string(credentialsId: develocityCredentialsId, - variable: 'GRADLE_ENTERPRISE_ACCESS_KEY')]) { + variable: 'DEVELOCITY_ACCESS_KEY')]) { withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline sh "./ci/build.sh $args" } @@ -257,7 +257,7 @@ void ciBuild(buildEnv, String args) { sh "./ci/build.sh $args" }, { // Finally withCredentials([string(credentialsId: 'ge.hibernate.org-access-key-pr', - variable: 'GRADLE_ENTERPRISE_ACCESS_KEY')]) { + variable: 'DEVELOCITY_ACCESS_KEY')]) { withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline sh './gradlew buildScanPublishPrevious' }