opennms icon indicating copy to clipboard operation
opennms copied to clipboard

NMS-14759: re-enable Sonar in Foundation 2022

Open RangerRick opened this issue 3 years ago • 1 comments

This PR fixes Sonar running in Foundation 2022, and makes a number of general improvements.

  • (slightly) smarter cache handling for sonar
  • add support for the jacoco agent to horizon, minion, and sentinel startup scripts (JACOCO_AGENT_ENABLED=1 env var)
  • enable jacoco coverage reports for smoke test runs of horizon (minion and sentinel don't allow vm: access for JMX)
  • push report-generation to the coverage (sonar.sh) run to synthesize integration and smoke test runs into a single report
  • update the coverage packing and unpacking scripts to handle multiple types of runs without stepping on filenames
  • backport some of my previous sonar improvements from develop

External References

  • JIRA (Issue Tracker): http://issues.opennms.org/browse/NMS-14759

RangerRick avatar Oct 05 '22 19:10 RangerRick

Dammit Sonar! Making me look bad.

RangerRick avatar Oct 06 '22 15:10 RangerRick