DATAJDBC-642 - Use Docker hub credentials for all docker operations.

Be sure to use maven caching for cleaning. Also relocate all the CI scripts into a ci folder.
This commit is contained in:
Greg L. Turnquist
2020-11-10 10:00:16 -06:00
parent 5842d36fec
commit c6b337adc9
7 changed files with 97 additions and 50 deletions

10
ci/test.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash -x
set -euo pipefail
ci/accept-third-party-license.sh
mkdir -p /tmp/jenkins-home
chown -R 1001:1001 .
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \
./mvnw \
-P${PROFILE} clean dependency:list test -Dsort -U -B -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-jdbc