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.
6 lines
152 B
Bash
Executable File
6 lines
152 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -P${PROFILE} clean dependency:list test -Dsort -B
|