Skip to content

jpd1/sonar-mulesoft

 
 

Repository files navigation

SonarQube Mulesoft Plugin

Build Status Quality Gate Status

A SonarQube Plugin for MuleSoft workflow projects. The plugin scans MuleSoft reports and provides coverage validation.

Installation

Market Place

Coming soon...

Manual

Build the Jar

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

Installation

Follow the guide on SonarQube's official documentation using the jar you just built.

Configuration

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

Changelog

Release 0.5.1

  • The release Jar is now bundled with all dependencies.

Release 0.5.0

  • 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.

About

SonarQube MuleSoft Plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 72.9%
  • Java 22.7%
  • HTML 4.3%
  • Shell 0.1%