@@ -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 }
3837 steps {
@@ -63,7 +62,6 @@ pipeline {
6362 options { timeout(time : 30 , unit : ' MINUTES' ) }
6463 environment {
6564 ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
66- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
6765 DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
6866 }
6967 steps {
@@ -94,17 +92,13 @@ pipeline {
9492 options { timeout(time : 20 , unit : ' MINUTES' ) }
9593 environment {
9694 ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
97- DEVELOCITY_CACHE = credentials(" ${ p['develocity.cache.credentials']} " )
9895 DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
9996 }
10097 steps {
10198 script {
10299 docker. withRegistry(p[' docker.proxy.registry' ], p[' docker.proxy.credentials' ]) {
103100 docker. image(p[' docker.java.main.image' ]). inside(p[' docker.java.inside.basic' ]) {
104101 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} " +
108102 " ./mvnw -s settings.xml -Pci,artifactory -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-couchbase-non-root " +
109103 " -Dartifactory.server=${ p['artifactory.url']} " +
110104 " -Dartifactory.username=${ ARTIFACTORY_USR} " +
0 commit comments