#1228 - Fix CI scripts so they use maven caching.

By having the JAVA_HOME path match the Jenkins volume mount point, maven caching should now work properly and speed up CI building and testing.
This commit is contained in:
Greg Turnquist
2020-03-23 19:09:08 -05:00
parent 3ec045e89b
commit c519ffe69b
2 changed files with 2 additions and 2 deletions

View File

@@ -2,4 +2,4 @@
set -euo pipefail
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/spring-hateoas-maven-repository" ./mvnw -P${PROFILE} -Dmaven.test.skip=true clean deploy -B
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -P${PROFILE} -Dmaven.test.skip=true clean deploy -B

View File

@@ -2,4 +2,4 @@
set -euo pipefail
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/spring-hateoas-maven-repository" ./mvnw -P${PROFILE} clean dependency:list test -Dsort -B
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -P${PROFILE} clean dependency:list test -Dsort -B