A SonarQube Plugin for MuleSoft workflow projects. The plugin scans MuleSoft reports and provides coverage validation.
Coming soon...
To build the project use the Gradle task shadowJar
under shadow
tasks, this ensures you build a fat jar containing all the dependencies.
./gradlew shadowJar
Follow the guide on SonarQube's official documentation using the jar you just built.
There are two configuration properties that can be set for the plugin.
MuleSoft Report location (Your munit-coverage.json file location):
sonar.coverage.mulesoft.jsonReportPaths
MuleSoft source location (The location of your source XML files):
sonar.coverage.mulesoft.xmlSourcePaths
- The release Jar is now bundled with all dependencies.
- This is the initial release.
- Basic support for counting the flow coverage. The total number of processors for all flows is considered in the coverage weighting.