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 @@ -5,16 +5,12 @@ def withMavenWorkspace(Closure body) {
55 artifactsPublisher(disabled : true ),
66 junitPublisher(disabled : true )
77 ]) {
8- def develocityMainCredentialsId = helper. configuration. file?. develocity?. credentials?. main
9- def develocityBaseUrl = helper. configuration. file?. develocity?. url
10- withEnv([" DEVELOCITY_BASE_URL=${ develocityBaseUrl} " ]) {
11- withCredentials([string(credentialsId : develocityMainCredentialsId,
12- variable : ' DEVELOCITY_ACCESS_KEY' )]) {
13- withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline
14- body()
15- }
16- }
17- }
8+ // These credentials can only push reports.
9+ withCredentials([string(credentialsId : ' ge.hibernate.org-access-key-pr' )]) {
10+ withGradle { // withDevelocity, actually: https://plugins.jenkins.io/gradle/#plugin-content-capturing-build-scans-from-jenkins-pipeline
11+ body()
12+ }
13+ }
1814 }
1915}
2016
You can’t perform that action at this time.
0 commit comments