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