diff options
author | Arnstein Ressem <aressem@verizonmedia.com> | 2020-05-27 10:58:02 +0200 |
---|---|---|
committer | Arnstein Ressem <aressem@verizonmedia.com> | 2020-05-27 10:58:02 +0200 |
commit | 1d5f0e819e6d560ffc96f8e7146bb86f33a3b6e7 (patch) | |
tree | bf30e8ff720259357a31d1ffdab78b12c00e0836 /bootstrap.sh | |
parent | 4f5629bd1dfe0e2bbe0d0b1abda887fd75df409a (diff) |
Add retries to bootstrap in case of unstable network.
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index b0c3fc12ca6..b48f4b77836 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -42,7 +42,7 @@ echo "Using maven command: ${MAVEN_CMD}" echo "Using maven extra opts: ${MAVEN_EXTRA_OPTS}" mvn_install() { - ${MAVEN_CMD} --no-snapshot-updates clean install ${MAVEN_EXTRA_OPTS} "$@" + ${MAVEN_CMD} --no-snapshot-updates -Dmaven.wagon.http.retryHandler.count=5 clean install ${MAVEN_EXTRA_OPTS} "$@" } # Generate vtag map |