@@ -32,7 +32,6 @@ pipeline {
3232 options { timeout(time : 30 , unit : ' MINUTES' ) }
3333 environment {
3434 ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
35- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
3635 DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
3736 TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
3837 }
@@ -66,7 +65,6 @@ pipeline {
6665 options { timeout(time : 30 , unit : ' MINUTES' )}
6766 environment {
6867 ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
69- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
7068 DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
7169 TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
7270 }
@@ -89,7 +87,6 @@ pipeline {
8987 options { timeout(time : 30 , unit : ' MINUTES' )}
9088 environment {
9189 ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
92- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
9390 DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
9491 TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
9592 }
@@ -112,7 +109,6 @@ pipeline {
112109 options { timeout(time : 30 , unit : ' MINUTES' )}
113110 environment {
114111 ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
115- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
116112 DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
117113 TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
118114 }
@@ -135,7 +131,6 @@ pipeline {
135131 options { timeout(time : 30 , unit : ' MINUTES' )}
136132 environment {
137133 ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
138- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
139134 DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
140135 TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
141136 }
@@ -158,7 +153,6 @@ pipeline {
158153 options { timeout(time : 30 , unit : ' MINUTES' )}
159154 environment {
160155 ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
161- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
162156 DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
163157 TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
164158 }
@@ -191,17 +185,13 @@ pipeline {
191185 options { timeout(time : 20 , unit : ' MINUTES' ) }
192186 environment {
193187 ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
194- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
195188 DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
196189 }
197190 steps {
198191 script {
199192 docker. withRegistry(p[' docker.proxy.registry' ], p[' docker.proxy.credentials' ]) {
200193 docker. image(p[' docker.java.main.image' ]). inside(p[' docker.java.inside.basic' ]) {
201194 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} " +
205195 " ./mvnw -s settings.xml -Pci,artifactory " +
206196 " -Dartifactory.server=${ p['artifactory.url']} " +
207197 " -Dartifactory.username=${ ARTIFACTORY_USR} " +
0 commit comments