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

Try to enable Gradle Daemon again #1885

Merged
merged 6 commits into from Mar 25, 2023

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Mar 25, 2023

Description

Gradle Daemon was disabled for PR Build jobs in #1584 as some there were flaky tests on Windows, re-enable it for now.

Checklist

  • PR description added
  • tests are added
  • KtLint has been applied on source code itself and violations are fixed
  • documentation is updated
  • CHANGELOG.md is updated

In case of adding a new rule:

@Goooler Goooler changed the title Disable CI for Windows & JDK8 Try to enable Gradle Daemon again Mar 25, 2023
@Goooler
Copy link
Contributor Author

Goooler commented Mar 25, 2023

Merge this after #1884.

build.gradle.kts Outdated
Comment on lines 24 to 29
retry {
if (System.getenv().containsKey("CI")) {
maxRetries.set(3)
maxFailures.set(20)
}
}
Copy link
Contributor Author

@Goooler Goooler Mar 25, 2023

Choose a reason for hiding this comment

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

We can enable this retry if flaky tests occur again, just remove it for now.

@paul-dingemans paul-dingemans merged commit 994ec5c into pinterest:master Mar 25, 2023
9 checks passed
@Goooler Goooler deleted the enable_daemon branch March 25, 2023 10:28
@paul-dingemans
Copy link
Collaborator

I am really to go enjoy the improved speed of the build. Tnx!

@Goooler
Copy link
Contributor Author

Goooler commented Mar 25, 2023

My pleasure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants