Closed Sjnahak closed 3 years ago
Hi, Do you get the json reports after running the tests?. The plugin reads from that files. In mule 3 it reads, "/target/munit-reports/coverage-json/report.json" In mule 4 it reads, "/target/site/munit/coverage/munit-coverage.json"
Thanks @fperezpa , My bad forgot to update here the issue is fixed after updating my sonar installation path
Hi @Sjnahak, Can you please let me know where you updated the path?
@Muppalla-Ramaraju
In git at root where sonar-project.properties file is updated sonar.coverage.mulesoft.jsonReportPaths=./target/site/munit/coverage/munit-coverage.json
In the Jenkins build agents the sonar scanner path eg /opt/sonarscanner/sonar-scanner-4.4.0.2170-linux
I used the mule-sonarqube-plugin but not getting any coverage report sonarqube version :7.9.4
I can see coverage from munit :
ERROR
Any hints?