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

Avoidance of random CI failures due to failing Gradle download #2023

Merged
merged 6 commits into from
Sep 25, 2023

Conversation

lhstrh
Copy link
Member

@lhstrh lhstrh commented Sep 23, 2023

Sometimes CI fails because a job fails to download Gradle (which happens upon the first invocation of gradlew). This PR adds a step that repeatedly (3x) attempts the download before giving up.

Copy link
Collaborator

@cmnrd cmnrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should a sleep of 10 to 30 seconds in between the tries

Copy link
Collaborator

@cmnrd cmnrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the sleep commands. This PR should make the workflows much more reliable.

@cmnrd cmnrd added this pull request to the merge queue Sep 25, 2023
Merged via the queue into master with commit ab51d92 Sep 25, 2023
41 checks passed
@cmnrd cmnrd deleted the retry-download-gradle branch September 25, 2023 14:35
@lhstrh lhstrh added the ci Continuous integration label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants