Skip to content

[Eclipse openPASS] Setup a Mounted Local Volume for Bazel Local Cache on Jenkins Agent

Summary

We are currently utilizing Bazel as our build system. We want to set up a mounted volume for our Jenkins agent that for local cache to enhance our build performance.

Project: OpenPass Repo:

Steps to reproduce

N/A

What is the current bug behavior?

It is not a bug

We have observed that the build time for our project are excessively lengthy, approximately 1 hour per build (due to limited Memory Resources). we want to implement caching strategies to reduce the build time.

What is the expected correct behavior?

With local cache, Bazel does not rebuild the complete project but only on the changed targets, which will enhance the CI performance.

Relevant logs and/or screenshots

see https://ci.eclipse.org/openpass/job/GtGenCore/view/change-requests/job/MR-27/

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low

Impact

It is affecting developer productivity with the current status of CI build time

Edited by Xiao Pan