@@ -151,7 +151,6 @@ pipeline {
151
151
options { timeout(time : 30 , unit : ' MINUTES' ) }
152
152
environment {
153
153
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
154
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
155
154
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
156
155
}
157
156
steps {
@@ -164,9 +163,6 @@ pipeline {
164
163
sh ' mongo --eval "rs.initiate({_id: \' rs0\' , members:[{_id: 0, host: \' 127.0.0.1:27017\' }]});"'
165
164
sh ' sleep 15'
166
165
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
167
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
168
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
169
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
170
166
" ./mvnw -s settings.xml clean dependency:list test -Dsort -U -B"
171
167
}
172
168
}
@@ -190,7 +186,6 @@ pipeline {
190
186
options { timeout(time : 30 , unit : ' MINUTES' ) }
191
187
environment {
192
188
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
193
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
194
189
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
195
190
}
196
191
steps {
@@ -203,9 +198,6 @@ pipeline {
203
198
sh ' mongo --eval "rs.initiate({_id: \' rs0\' , members:[{_id: 0, host: \' 127.0.0.1:27017\' }]});"'
204
199
sh ' sleep 15'
205
200
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
206
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
207
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
208
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
209
201
" ./mvnw -s settings.xml clean dependency:list test -Dsort -U -B"
210
202
}
211
203
}
@@ -220,7 +212,6 @@ pipeline {
220
212
options { timeout(time : 30 , unit : ' MINUTES' ) }
221
213
environment {
222
214
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
223
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
224
215
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
225
216
}
226
217
steps {
@@ -233,9 +224,6 @@ pipeline {
233
224
sh ' mongosh --eval "rs.initiate({_id: \' rs0\' , members:[{_id: 0, host: \' 127.0.0.1:27017\' }]});"'
234
225
sh ' sleep 15'
235
226
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
236
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
237
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
238
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
239
227
" ./mvnw -s settings.xml clean dependency:list test -Dsort -U -B"
240
228
}
241
229
}
@@ -250,7 +238,6 @@ pipeline {
250
238
options { timeout(time : 30 , unit : ' MINUTES' ) }
251
239
environment {
252
240
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
253
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
254
241
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
255
242
}
256
243
steps {
@@ -263,9 +250,6 @@ pipeline {
263
250
sh ' mongosh --eval "rs.initiate({_id: \' rs0\' , members:[{_id: 0, host: \' 127.0.0.1:27017\' }]});"'
264
251
sh ' sleep 15'
265
252
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
266
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
267
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
268
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
269
253
" ./mvnw -s settings.xml clean dependency:list test -Dsort -U -B"
270
254
}
271
255
}
@@ -280,7 +264,6 @@ pipeline {
280
264
options { timeout(time : 30 , unit : ' MINUTES' ) }
281
265
environment {
282
266
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
283
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
284
267
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
285
268
}
286
269
steps {
@@ -293,9 +276,6 @@ pipeline {
293
276
sh ' mongosh --eval "rs.initiate({_id: \' rs0\' , members:[{_id: 0, host: \' 127.0.0.1:27017\' }]});"'
294
277
sh ' sleep 15'
295
278
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
296
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
297
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
298
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
299
279
" ./mvnw -s settings.xml -Pmongo-4.x clean dependency:list test -Dsort -U -B -Dgradle.cache.local.enabled=false -Dgradle.cache.remote.enabled=false"
300
280
}
301
281
}
@@ -310,7 +290,6 @@ pipeline {
310
290
options { timeout(time : 30 , unit : ' MINUTES' ) }
311
291
environment {
312
292
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
313
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
314
293
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
315
294
}
316
295
steps {
@@ -323,9 +302,6 @@ pipeline {
323
302
sh ' mongosh --eval "rs.initiate({_id: \' rs0\' , members:[{_id: 0, host: \' 127.0.0.1:27017\' }]});"'
324
303
sh ' sleep 15'
325
304
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
326
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
327
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
328
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
329
305
" ./mvnw -s settings.xml clean dependency:list test -Dsort -U -B"
330
306
}
331
307
}
@@ -349,17 +325,13 @@ pipeline {
349
325
options { timeout(time : 20 , unit : ' MINUTES' ) }
350
326
environment {
351
327
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
352
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
353
328
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
354
329
}
355
330
steps {
356
331
script {
357
332
docker. withRegistry(p[' docker.proxy.registry' ], p[' docker.proxy.credentials' ]) {
358
333
docker. image(p[' docker.java.main.image' ]). inside(p[' docker.java.inside.basic' ]) {
359
334
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
360
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
361
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
362
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
363
335
" ./mvnw -s settings.xml -Pci,artifactory " +
364
336
" -Dartifactory.server=${ p['artifactory.url']} " +
365
337
" -Dartifactory.username=${ ARTIFACTORY_USR} " +
0 commit comments