Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(temurin Adoptium install scripts) provide visibility for curl and retry downloads #868

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Sep 2, 2024

Testing done

Recent PRs did fail to build with error returned while downloading the Temurin archives.

This changes introduces the 2 following element to avoid these build failures:

  • Enable (exponential backoff) retries
  • Have curl printing the error when it happens (otherwise the use of the --silent flags hides the information)

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did

…actise

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
…ilent mode is used)

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
…k off) on transient/connection errors - https://everything.curl.dev/usingcurl/downloads/retry.html

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@dduportal dduportal marked this pull request as ready for review September 2, 2024 13:05
@dduportal dduportal requested a review from a team as a code owner September 2, 2024 13:05
@dduportal dduportal changed the title chore(temurin install scripts) provide visibility for curl and retry downloads chore(temurin Adoptium install scripts) provide visibility for curl and retry downloads Sep 2, 2024
@dduportal dduportal merged commit e21c0e4 into jenkinsci:master Sep 2, 2024
10 checks passed
@dduportal dduportal deleted the chore/temurin-retry-downloads branch September 2, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants