* Introduce Testcontainers as the mechanism to test against real data stores. * Alter CI to handle running Testcontainers in reduced privilege mode. * Run the data store specific test cases ONLY for the baseline Java 8 test execution. See #2256.
10 lines
308 B
Bash
Executable File
10 lines
308 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
set -euo pipefail
|
|
|
|
mkdir -p /tmp/jenkins-home/.m2/spring-data-jpa
|
|
chown -R 1001:1001 .
|
|
|
|
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \
|
|
./mvnw -s settings.xml \
|
|
-P${PROFILE} clean dependency:list test -Dsort -U -B -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-jpa |