@@ -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
}
39
38
@@ -65,7 +64,6 @@ pipeline {
65
64
options { timeout(time : 30 , unit : ' MINUTES' ) }
66
65
environment {
67
66
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
68
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
69
67
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
70
68
}
71
69
steps {
@@ -96,17 +94,13 @@ pipeline {
96
94
options { timeout(time : 20 , unit : ' MINUTES' ) }
97
95
environment {
98
96
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
99
- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
100
97
DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
101
98
}
102
99
steps {
103
100
script {
104
101
docker. withRegistry(p[' docker.proxy.registry' ], p[' docker.proxy.credentials' ]) {
105
102
docker. image(p[' docker.java.main.image' ]). inside(p[' docker.java.inside.basic' ]) {
106
103
sh ' MAVEN_OPTS="-Duser.name=' + " ${ p['jenkins.user.name']} " + ' -Duser.home=/tmp/jenkins-home" ' +
107
- " DEVELOCITY_CACHE_USERNAME=${ DEVELOCITY_CACHE_USR} " +
108
- " DEVELOCITY_CACHE_PASSWORD=${ DEVELOCITY_CACHE_PSW} " +
109
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ DEVELOCITY_ACCESS_KEY} " +
110
104
" ./mvnw -s settings.xml -Pci,artifactory -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-elasticsearch-non-root " +
111
105
" -Dartifactory.server=${ p['artifactory.url']} " +
112
106
" -Dartifactory.username=${ ARTIFACTORY_USR} " +
0 commit comments