-
Notifications
You must be signed in to change notification settings - Fork 2
4. How to integrate StartupHeroes checks into SonarQube
ozlmulg edited this page Aug 26, 2017
·
1 revision
- 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.
- Restart SonarQube from dashboard by following Administration > System > System Info > Restart Server.
- Go to Quality Profiles menu from SonarQube dashboard.
- Add a new Quality profile by setting it as default profile.
- You can see StartupHeroes rules from Rules menu on dashboard by filtering "sh-rule".
- Choose Bulk Change after filtering your rules what you need.
- Activate all your filtered rules on your default Quality Profile to use them.