@@ -32,7 +32,6 @@ pipeline {
32
32
options { timeout(time : 30 , unit : ' MINUTES' ) }
33
33
environment {
34
34
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
35
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
36
35
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
37
36
TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
38
37
}
@@ -66,7 +65,6 @@ pipeline {
66
65
options { timeout(time : 30 , unit : ' MINUTES' )}
67
66
environment {
68
67
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
69
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
70
68
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
71
69
TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
72
70
}
@@ -89,7 +87,6 @@ pipeline {
89
87
options { timeout(time : 30 , unit : ' MINUTES' )}
90
88
environment {
91
89
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
92
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
93
90
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
94
91
TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
95
92
}
@@ -112,7 +109,6 @@ pipeline {
112
109
options { timeout(time : 30 , unit : ' MINUTES' )}
113
110
environment {
114
111
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
115
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
116
112
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
117
113
TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
118
114
}
@@ -135,7 +131,6 @@ pipeline {
135
131
options { timeout(time : 30 , unit : ' MINUTES' )}
136
132
environment {
137
133
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
138
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
139
134
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
140
135
TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
141
136
}
@@ -158,7 +153,6 @@ pipeline {
158
153
options { timeout(time : 30 , unit : ' MINUTES' )}
159
154
environment {
160
155
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
161
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
162
156
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
163
157
TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
164
158
}
@@ -191,17 +185,13 @@ pipeline {
191
185
options { timeout(time : 20 , unit : ' MINUTES' ) }
192
186
environment {
193
187
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
194
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
195
188
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
196
189
}
197
190
steps {
198
191
script {
199
192
docker. withRegistry(p[' docker.proxy.registry' ], p[' docker.proxy.credentials' ]) {
200
193
docker. image(p[' docker.java.main.image' ]). inside(p[' docker.java.inside.basic' ]) {
201
194
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
202
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
203
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
204
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
205
195
" ./mvnw -s settings.xml -Pci,artifactory " +
206
196
" -Dartifactory.server=${ p['artifactory.url']} " +
207
197
" -Dartifactory.username=${ ARTIFACTORY_USR} " +
0 commit comments