Be sure to use maven caching for cleaning. Also relocate all the CI scripts into a ci folder.
7 lines
173 B
Bash
Executable File
7 lines
173 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
set -euo pipefail
|
|
|
|
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \
|
|
./mvnw clean -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-jdbc
|