Sonar Tile for XL Release
- SonarQube 5.4+
You can copy the pre build jar file from under the releases section under git repo
OR
Build the project:
./gradlew assemble
Copy the extension to the plugins folder of your XLR installation:
cp ./build/libs/xlr-sonar-plugin-1.0.jar $XLRelease_HOME/plugins
-
Go to the Settings > Configuration and define a Sonarqube Server Reference. eg https://builds.apache.org/analysis
-
Then go to a release template and go to the release summary view
-
Add the Sonar Tile from the drop down list. Provide a project id. eg. ant-master
-
Specify what all metrics you want to show in summary ( Keys are the key used as Sonar metrics URI params, Value part is a Nice to Show Header for that metric)
-
On saving, you'll get the Preview. You can even click on the Data items represented as hyperlinks that take you back to the Sonar Dashboard in a separate browser.