-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Hello,
We are trying to publish the mutation analysis results in SonarQube but it not working as expected. Below is the project details,
SonarQube Version - 9.9 LTS
Mutation Plugin Version - 1.7
Properties & Config Added: dc5.mutationAnalysis.pitest.sensor.reports.directory=build/reports/pitest
dc5.mutationAnalysis.pitest.java.sensor.enabled=true
pitest {
junit5PluginVersion = '1.0.0' //or 0.15 for PIT <1.9.0
useClasspathFile = true
targetClasses = ['***']
threads = (Runtime.getRuntime().availableProcessors() * 0.5).intValue()
outputFormats = ['XML', 'HTML']
mutators = ['ALL']
timestampedReports = false
failWhenNoMutations = false
enableDefaultIncrementalAnalysis = true
}
Log Results:
16:08:17.264 DEBUG: Reading mutants
16:08:17.264 DEBUG: Searching pit reports in /workspace/source/build/reports/pitest
16:08:17.265 DEBUG: No report /workspace/source/build/reports/pitest found
16:08:17.265 DEBUG: collecting metrics
16:08:17.265 DEBUG: Enabled Languages for Pitest: [java, kotlin]
16:08:17.265 DEBUG: applying java rules
16:08:17.267 DEBUG: applying kotlin rules
Note: Mutation Analysis report is getting generated in local but the results are not getting reflected in sonar dashboard.
Please guide me in what I am missing.
Thank you!