Grant Henke has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/11214


Change subject: [gradle] Aggressively retry downloading the gradle wrapper jar
......................................................................

[gradle] Aggressively retry downloading the gradle wrapper jar

When downloading the Gradle wrapper jar via curl
builds could fail because we didn’t retry. This patch
adds various ways to retry:

- Adds `—retry 3` to retry transient errors.
- Adds -L to handle when the requested page has
moved to a different location
- Adds -S to show the errors.
- Adds a manual retry loop to retry errors that
curl doesn’t think are transient.

Change-Id: I85b0f9252dbb68b4f6f67c29f9ad02f145e084ba
---
M java/gradle/wrapper.gradle
M java/gradlew
2 files changed, 22 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/14/11214/1
--
To view, visit http://gerrit.cloudera.org:8080/11214
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I85b0f9252dbb68b4f6f67c29f9ad02f145e084ba
Gerrit-Change-Number: 11214
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>

Reply via email to