@@ -33,7 +33,6 @@ pipeline {
33
33
34
34
environment {
35
35
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
36
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
37
36
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
38
37
TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.ProxyImageNameSubstitutor'
39
38
}
@@ -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.ProxyImageNameSubstitutor'
72
70
}
@@ -98,17 +96,13 @@ pipeline {
98
96
options { timeout(time : 20 , unit : ' MINUTES' ) }
99
97
environment {
100
98
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
101
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
102
99
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
103
100
}
104
101
steps {
105
102
script {
106
103
docker. withRegistry(p[' docker.proxy.registry' ], p[' docker.proxy.credentials' ]) {
107
104
docker. image(p[' docker.java.main.image' ]). inside(p[' docker.java.inside.basic' ]) {
108
105
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
109
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
110
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
111
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
112
106
" ./mvnw -s settings.xml -Pci,artifactory " +
113
107
" -Dartifactory.server=${ p['artifactory.url']} " +
114
108
" -Dartifactory.username=${ ARTIFACTORY_USR} " +
0 commit comments