I wondered if using SonarQube caches, created in different SonarUserHome locations, interchangeably
is possible. Because of our build structure, each branch gets assigned a distinct build directory with a cache location. The cache location is $WORKSPACE/cache. The workspace folder is named accordingly to the branch. Therefore the main branch has a different SonarUserHome location when running the analysis than, for example, a feature branch. Using the saved cache for new builds for the same branch is no problem, as the SonarUserHome locations match, for example, main (build 1) and main (build 2). I question whether it is possible to use the cache generated from the master for a different branch with a different absolute path. Currently, we get 0 cache hits when using the master cache for another branch.
I appreciate any help you can provide.
- Enterprise Edition, Version 8.9.6 (build 50800)