DATREDIS-1380 - Configure user.name and user.home for CI jobs.

Because the CI server runs in a secured, reduced privilege mode, setting the JDK's user.name and user.home variables via MAVEN_OPTS is required.
This commit is contained in:
Greg Turnquist
2019-06-19 13:19:05 -05:00
parent 755a78c210
commit c8a61c31fa
3 changed files with 10 additions and 117 deletions

View File

@@ -130,7 +130,7 @@ All of these use cases are great reasons to essentially run what the CI server d
IMPORTANT: To do this you must have Docker installed on your machine.
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-redis-github adoptopenjdk/openjdk8:latest /bin/sh`
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-redis-github springci/spring-data-openjdk8-with-redis-5.0:latest /bin/bash`
+
This will launch the Docker image and mount your source code at `spring-data-redis-github`.
+