Skip to content

How to integrate sevntu checks into SonarQubeTM (user's guide)

Roman Ivanov edited this page Jul 30, 2018 · 8 revisions

Installation

  1. Download sevntu-checkstyle-sonar-plugin-X.Y.Z.jar from URL https://raw.githubusercontent.com/sevntu-checkstyle/sevntu.checkstyle/gh-pages/sonar/sevntu-checkstyle-sonar-plugin-X.XX.X.jar
  2. Copy this jar into [SONAR_HOME]/extensions/plugins/ folder
  3. Please make sure that plugin will be owned the same user as other sonar plugins
  4. Restart your SonarQube

Verification

  • In Quality Profiles tab create a new profile by importing "sevntu-checks.xml:https://raw.githubusercontent.com/sevntu-checkstyle/sevntu.checkstyle/master/sevntu-checks/sevntu-checks.xml checkstyle configuration. Set profile as default

  • Go to your profile. Configure current checks and/or activate new ones