Commit 1d155f6e authored by David Diederich's avatar David Diederich 🌴
Browse files

Adding --update-snapshots to the maven test command

This will force maven to update any cached snapshot library that it needs. While
the compile-and-unit-test job would have done this previously, the .m2 cache is
not necessarily shared between runners of these two jobs (if two different
runners pick up the jobs).

This maybe could be leading to some issues, though I'm not certain that it is a
problem. However, this seems like a fairly low weight change without much harm,
so it is worth the try.
parent a45e3b8d
......@@ -126,7 +126,7 @@ aws-test:
- ls -ltr
- mvn $MAVEN_CLI_OPTS -Dmaven.repo.local=$MAVEN_REPO_PATH test -Dorg.slf4j.simpleLogger.defaultLogLevel=info
- mvn $MAVEN_CLI_OPTS -Dmaven.repo.local=$MAVEN_REPO_PATH test --update-snapshots -Dorg.slf4j.simpleLogger.defaultLogLevel=info
- $AWS == 'true'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment