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

Integrate Jenkins Job Cacher Plugin for improved build caching #18849

Closed
kennknowles opened this issue Jun 3, 2022 · 0 comments
Closed

Integrate Jenkins Job Cacher Plugin for improved build caching #18849

kennknowles opened this issue Jun 3, 2022 · 0 comments

Comments

@kennknowles
Copy link
Member

See discussion on dev. With the new Gradle build, we are now able to build incrementally, but are not yet taking advantage of it on Jenkins. This would give us the benefit of much faster pre-commits for files that aren't changed. For example, A change in the Python which doesn't touch any Java would not need to re-run Java pre-commits.

By default, Gradle uses a build cache local to the workspace, and in Jenkins the workspace gets nuked on each build. There is a Jenkins Job Cacher Plugin which solves this exact plugin and integrates with Gradle's build cache support. I believe all we need to do is enable and configure this plugin to realize the benefits of incremental builds.

To enable the plugin, we likely need to reach out the Apache INFRA team.

Imported from Jira BEAM-4400. Original Jira may contain additional context.
Reported by: swegner.

@Abacn Abacn closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants