feat(backcore): Quarkus tests
Build & Test (NowChessSystems) TeamCity build failed

Added quarkus test compatability with sonar through jacoco reporter
This commit is contained in:
LQ63
2026-04-13 16:57:33 +02:00
parent 95fcfc824c
commit 020941e404
5 changed files with 28 additions and 3 deletions
+8
View File
@@ -21,7 +21,15 @@ sonar {
if (report.exists()) report.absolutePath else null
}.joinToString(",")
val jacocoReports = subprojects.mapNotNull { subproject ->
val report = subproject.file("build/reports/jacoco/test/jacocoTestReport.xml")
if (report.exists()) report.absolutePath else null
}.joinToString(",")
property("sonar.scala.coverage.reportPaths", scoverageReports)
if (jacocoReports.isNotEmpty()) {
property("sonar.coverage.jacoco.xmlReportPaths", jacocoReports)
}
}
}