Skip to content

Commit 2964784

Browse files
committed
Fix use of credentials in Jenkinsfile
1 parent e612919 commit 2964784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ def withMavenWorkspace(Closure body) {
88
junitPublisher(disabled: true)
99
]) {
1010
// These credentials can only push reports.
11-
withCredentials([string(credentialsId: 'develocity.commonhaus.dev-access-key-pr')]) {
11+
withCredentials([string(credentialsId: 'develocity.commonhaus.dev-access-key-pr',
12+
variable: 'DEVELOCITY_ACCESS_KEY')]) {
1213
withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline
1314
body()
1415
}

0 commit comments

Comments
 (0)