Skip to content

4. How to integrate StartupHeroes checks into SonarQube

ozlmulg edited this page Aug 26, 2017 · 1 revision
  1. Connect Sonarqube server from command line. Go to plugins directory by following sonarqube > extensions > plugins. Add StartupHeroes sonar plugin jar file (startupheroes-checkstyle-sonar-plugin-X.XX.X.jar) to your SonarQube plugins directory.

  1. Restart SonarQube from dashboard by following Administration > System > System Info > Restart Server.

  1. Go to Quality Profiles menu from SonarQube dashboard.

  1. Add a new Quality profile by setting it as default profile.

  1. You can see StartupHeroes rules from Rules menu on dashboard by filtering "sh-rule".

  1. Choose Bulk Change after filtering your rules what you need.

  1. Activate all your filtered rules on your default Quality Profile to use them.