diff --git a/Jenkinsfile b/Jenkinsfile index 1f3edce8700..f76701aa71e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -98,8 +98,7 @@ def mavenBuild(jdk, cmdline, mvnName, consoleParsers) { "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) { configFileProvider( [configFile(fileId: 'oss-settings.xml', variable: 'GLOBAL_MVN_SETTINGS')]) { - sh "mvn -s $GLOBAL_MVN_SETTINGS -DsettingsPath=$GLOBAL_MVN_SETTINGS -Pci -V -B -e -Djetty.testtracker.log=true $cmdline javadoc:jar -Dunix.socket.tmp=" + - env.JENKINS_HOME + sh "mvn -s $GLOBAL_MVN_SETTINGS -DsettingsPath=$GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -V -B -e javadoc:jar -Djetty.testtracker.log=true $cmdline -Dunix.socket.tmp=/tmp/unixsocket" } } } finally {