Grant Henke has submitted this change and it was merged. ( 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. - Replaces raw.githubusercontent.com usage with a github.com raw url. Change-Id: I85b0f9252dbb68b4f6f67c29f9ad02f145e084ba Reviewed-on: http://gerrit.cloudera.org:8080/11214 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Grant Henke <[email protected]> --- M java/gradle/wrapper.gradle M java/gradlew 2 files changed, 23 insertions(+), 7 deletions(-) Approvals: Adar Dembo: Looks good to me, approved Grant Henke: Verified -- 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: merged Gerrit-Change-Id: I85b0f9252dbb68b4f6f67c29f9ad02f145e084ba Gerrit-Change-Number: 11214 Gerrit-PatchSet: 3 Gerrit-Owner: Grant Henke <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins
