File tree 1 file changed +6
-10
lines changed
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) {
7
7
artifactsPublisher(disabled : true ),
8
8
junitPublisher(disabled : true )
9
9
]) {
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
+ }
20
16
}
21
17
}
22
18
You can’t perform that action at this time.
0 commit comments