Skip to content

xebialabs-community/xlr-sonar-plugin

Repository files navigation

XL Release Sonar Plugin

Sonar Tile for XL Release

CI status

Build Status Codacy Badge Code Climate License: MIT Github All Releases

Requirements

  • SonarQube 5.4+

Installation

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

Usage

  1. Go to the Settings > Configuration and define a Sonarqube Server Reference. eg https://builds.apache.org/analysis Configuration

  2. Then go to a release template and go to the release summary view

  3. Add the Sonar Tile from the drop down list. Provide a project id. eg. ant-master

  4. 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) Configuration

  5. 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. Preview

References