File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,12 @@ def withMavenWorkspace(Closure body) {
77 artifactsPublisher(disabled : true ),
88 junitPublisher(disabled : true )
99 ]) {
10- def develocityMainCredentialsId = helper. configuration. file?. develocity?. credentials?. main
11- def develocityBaseUrl = helper. configuration. file?. develocity?. url
12- withEnv([" DEVELOCITY_BASE_URL=${ develocityBaseUrl} " ]) {
13- withCredentials([string(credentialsId : develocityMainCredentialsId,
14- variable : ' DEVELOCITY_ACCESS_KEY' )]) {
15- withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline
16- body()
17- }
18- }
19- }
10+ // These credentials can only push reports.
11+ withCredentials([string(credentialsId : ' ge.hibernate.org-access-key-pr' )]) {
12+ withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline
13+ body()
14+ }
15+ }
2016 }
2117}
2218
You can’t perform that action at this time.
0 commit comments