You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration: system
Error: Could not find or load main class com.google.devtools.coverageoutputgenerator.SonarQubeCoverageGenerator
Caused by: java.lang.ClassNotFoundException: com.google.devtools.coverageoutputgenerator.SonarQubeCoverageGenerator
We changed to use :SonarQubeCoverageGenerator instead and that seems a lot more stable. Any idea why?
The text was updated successfully, but these errors were encountered:
Since upgrading to 7.x I've found the same, using coverage --coverage_report_generator=@bazel_sonarqube//:SonarQubeCoverageGenerator is more stable. I'm not sure exactly why, but I'll update the docs at some point.
Hi,
We experienced random errors when using
$BAZEL_BIN coverage --build_tests_only --combined_report=lcov --coverage_report_generator=@bazel_sonarqube//:sonarqube_coverage_generator --strategy=CoverageReport=local,remote
(15:09:42) ERROR: : Coverage report generation failed: (Exit 1): coverage.launcher failed: error executing CoverageReport command
(cd /home/runner/.cache/bazel/_bazel_runner/bccdf71c163d013389bc1939108453cd/execroot/_main &&
exec env -
bazel-out/k8-opt-exec-ST-13d3ddad9198/bin/external/bazel_sonarqube/coverage.launcher '--reports_file=bazel-out/_coverage/lcov_files.tmp' '--output_file=bazel-out/_coverage/_coverage_report.dat')
Configuration: system
Error: Could not find or load main class com.google.devtools.coverageoutputgenerator.SonarQubeCoverageGenerator
Caused by: java.lang.ClassNotFoundException: com.google.devtools.coverageoutputgenerator.SonarQubeCoverageGenerator
We changed to use :SonarQubeCoverageGenerator instead and that seems a lot more stable. Any idea why?
The text was updated successfully, but these errors were encountered: