我正在尝试将 SunarQube 运行程序设置为 sbt 任务。到目前为止,我已经设法仅为 Scoverage 生成报告。
我正在独立运行 findbugs
任务,它生成了一个 report.xml,但 Sonar 运行器没有接收到它。我传递给 Sonar 运行者的相关设置:
"sonar.dynamicAnalysis" -> "reuseReports",
"sonar.scoverage.reportPath" -> s"${crossTarget.value}/scoverage-report/scoverage.xml",
"sonar.findbugs.reportPath" -> s"${crossTarget.value}/findbugs/report.xml",
还有其他我应该知道的设置吗?是否有我可以在 Sonar 中使用的所有设置的完整列表?
最佳答案
您将无法获取该 FindBugs 报告; FindBugs plugin基于 rules 运行工具本身配置在 profile在使用中。
关于scala - sbt : findbugs, scalastyle 中的 SonarQube 运行者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33483352/