|
|
|
|
@ -151,7 +151,6 @@ pipeline {
@@ -151,7 +151,6 @@ pipeline {
|
|
|
|
|
options { timeout(time: 30, unit: 'MINUTES') } |
|
|
|
|
environment { |
|
|
|
|
ARTIFACTORY = credentials("${p['artifactory.credentials']}") |
|
|
|
|
DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") |
|
|
|
|
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") |
|
|
|
|
} |
|
|
|
|
steps { |
|
|
|
|
@ -164,9 +163,6 @@ pipeline {
@@ -164,9 +163,6 @@ pipeline {
|
|
|
|
|
sh 'mongo --eval "rs.initiate({_id: \'rs0\', members:[{_id: 0, host: \'127.0.0.1:27017\'}]});"' |
|
|
|
|
sh 'sleep 15' |
|
|
|
|
sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + |
|
|
|
|
"DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + |
|
|
|
|
"DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + |
|
|
|
|
"GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + |
|
|
|
|
"./mvnw -s settings.xml clean dependency:list test -Dsort -U -B" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -190,7 +186,6 @@ pipeline {
@@ -190,7 +186,6 @@ pipeline {
|
|
|
|
|
options { timeout(time: 30, unit: 'MINUTES') } |
|
|
|
|
environment { |
|
|
|
|
ARTIFACTORY = credentials("${p['artifactory.credentials']}") |
|
|
|
|
DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") |
|
|
|
|
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") |
|
|
|
|
} |
|
|
|
|
steps { |
|
|
|
|
@ -203,9 +198,6 @@ pipeline {
@@ -203,9 +198,6 @@ pipeline {
|
|
|
|
|
sh 'mongo --eval "rs.initiate({_id: \'rs0\', members:[{_id: 0, host: \'127.0.0.1:27017\'}]});"' |
|
|
|
|
sh 'sleep 15' |
|
|
|
|
sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + |
|
|
|
|
"DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + |
|
|
|
|
"DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + |
|
|
|
|
"GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + |
|
|
|
|
"./mvnw -s settings.xml clean dependency:list test -Dsort -U -B" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -220,7 +212,6 @@ pipeline {
@@ -220,7 +212,6 @@ pipeline {
|
|
|
|
|
options { timeout(time: 30, unit: 'MINUTES') } |
|
|
|
|
environment { |
|
|
|
|
ARTIFACTORY = credentials("${p['artifactory.credentials']}") |
|
|
|
|
DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") |
|
|
|
|
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") |
|
|
|
|
} |
|
|
|
|
steps { |
|
|
|
|
@ -233,9 +224,6 @@ pipeline {
@@ -233,9 +224,6 @@ pipeline {
|
|
|
|
|
sh 'mongosh --eval "rs.initiate({_id: \'rs0\', members:[{_id: 0, host: \'127.0.0.1:27017\'}]});"' |
|
|
|
|
sh 'sleep 15' |
|
|
|
|
sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + |
|
|
|
|
"DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + |
|
|
|
|
"DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + |
|
|
|
|
"GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + |
|
|
|
|
"./mvnw -s settings.xml clean dependency:list test -Dsort -U -B" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -250,7 +238,6 @@ pipeline {
@@ -250,7 +238,6 @@ pipeline {
|
|
|
|
|
options { timeout(time: 30, unit: 'MINUTES') } |
|
|
|
|
environment { |
|
|
|
|
ARTIFACTORY = credentials("${p['artifactory.credentials']}") |
|
|
|
|
DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") |
|
|
|
|
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") |
|
|
|
|
} |
|
|
|
|
steps { |
|
|
|
|
@ -263,9 +250,6 @@ pipeline {
@@ -263,9 +250,6 @@ pipeline {
|
|
|
|
|
sh 'mongosh --eval "rs.initiate({_id: \'rs0\', members:[{_id: 0, host: \'127.0.0.1:27017\'}]});"' |
|
|
|
|
sh 'sleep 15' |
|
|
|
|
sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + |
|
|
|
|
"DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + |
|
|
|
|
"DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + |
|
|
|
|
"GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + |
|
|
|
|
"./mvnw -s settings.xml clean dependency:list test -Dsort -U -B" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -280,7 +264,6 @@ pipeline {
@@ -280,7 +264,6 @@ pipeline {
|
|
|
|
|
options { timeout(time: 30, unit: 'MINUTES') } |
|
|
|
|
environment { |
|
|
|
|
ARTIFACTORY = credentials("${p['artifactory.credentials']}") |
|
|
|
|
DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") |
|
|
|
|
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") |
|
|
|
|
} |
|
|
|
|
steps { |
|
|
|
|
@ -293,9 +276,6 @@ pipeline {
@@ -293,9 +276,6 @@ pipeline {
|
|
|
|
|
sh 'mongosh --eval "rs.initiate({_id: \'rs0\', members:[{_id: 0, host: \'127.0.0.1:27017\'}]});"' |
|
|
|
|
sh 'sleep 15' |
|
|
|
|
sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + |
|
|
|
|
"DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + |
|
|
|
|
"DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + |
|
|
|
|
"GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + |
|
|
|
|
"./mvnw -s settings.xml -Pmongo-4.x clean dependency:list test -Dsort -U -B -Dgradle.cache.local.enabled=false -Dgradle.cache.remote.enabled=false" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -310,7 +290,6 @@ pipeline {
@@ -310,7 +290,6 @@ pipeline {
|
|
|
|
|
options { timeout(time: 30, unit: 'MINUTES') } |
|
|
|
|
environment { |
|
|
|
|
ARTIFACTORY = credentials("${p['artifactory.credentials']}") |
|
|
|
|
DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") |
|
|
|
|
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") |
|
|
|
|
} |
|
|
|
|
steps { |
|
|
|
|
@ -323,9 +302,6 @@ pipeline {
@@ -323,9 +302,6 @@ pipeline {
|
|
|
|
|
sh 'mongosh --eval "rs.initiate({_id: \'rs0\', members:[{_id: 0, host: \'127.0.0.1:27017\'}]});"' |
|
|
|
|
sh 'sleep 15' |
|
|
|
|
sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + |
|
|
|
|
"DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + |
|
|
|
|
"DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + |
|
|
|
|
"GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + |
|
|
|
|
"./mvnw -s settings.xml clean dependency:list test -Dsort -U -B" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -349,7 +325,6 @@ pipeline {
@@ -349,7 +325,6 @@ pipeline {
|
|
|
|
|
options { timeout(time: 20, unit: 'MINUTES') } |
|
|
|
|
environment { |
|
|
|
|
ARTIFACTORY = credentials("${p['artifactory.credentials']}") |
|
|
|
|
DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") |
|
|
|
|
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") |
|
|
|
|
} |
|
|
|
|
steps { |
|
|
|
|
@ -357,9 +332,6 @@ pipeline {
@@ -357,9 +332,6 @@ pipeline {
|
|
|
|
|
docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { |
|
|
|
|
docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { |
|
|
|
|
sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + |
|
|
|
|
"DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + |
|
|
|
|
"DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + |
|
|
|
|
"GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + |
|
|
|
|
"./mvnw -s settings.xml -Pci,artifactory " + |
|
|
|
|
"-Dartifactory.server=${p['artifactory.url']} " + |
|
|
|
|
"-Dartifactory.username=${ARTIFACTORY_USR} " + |
|
|
|
|
|