@@ -38,7 +38,7 @@ pipeline {
3838 timeout(time : 5 , unit : ' MINUTES' )
3939 }
4040 steps {
41- withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' ) {
41+ withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' , mavenLocalRepo : ' .repository ' ) {
4242 sh ' mvn clean'
4343 }
4444 }
@@ -48,7 +48,7 @@ pipeline {
4848 timeout(time : 5 , unit : ' MINUTES' )
4949 }
5050 steps {
51- withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' ) {
51+ withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' , mavenLocalRepo : ' .repository ' ) {
5252 sh ' mvn compile test-compile package -Dmaven.test.skip=true -Dmaven.javadoc.failOnError=false'
5353 }
5454 }
@@ -58,7 +58,7 @@ pipeline {
5858 timeout(time : 30 , unit : ' MINUTES' )
5959 }
6060 steps {
61- withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' ) {
61+ withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' , mavenLocalRepo : ' .repository ' ) {
6262 withSonarQubeEnv(' Sonar' ) {
6363 sh ' mvn --activate-profiles test -DgsExec="${gsExec}" -DcompareExec="${compareExec}" -Dmaven.test.skip=false -Dmaven.test.failure.ignore=false -Dmaven.javadoc.skip=true org.jacoco:jacoco-maven-plugin:prepare-agent verify org.jacoco:jacoco-maven-plugin:report sonar:sonar ' + sonarBranchName + ' ' + sonarBranchTarget
6464 }
@@ -70,7 +70,7 @@ pipeline {
7070 timeout(time : 30 , unit : ' MINUTES' )
7171 }
7272 steps {
73- withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' ) {
73+ withMaven(jdk : " ${ JDK_VERSION} " , maven : ' M3' , mavenLocalRepo : ' .repository ' ) {
7474 sh ' mvn --activate-profiles qa verify -Dpmd.analysisCache=true'
7575 }
7676 }
0 commit comments