New to SonarQube : Guide me to create custom rules with SQ Community free edition

Dear Team,

I am a test automation engineer (java selenium), I want to use sonarqube community free edition for my test scripts review (Static code analysis to improve the code quality). Please guide me which version I need to install and also do let me know how can I create custom rules as per my test automation requirement for Java & XML languages.

Thank you

Hi,

Welcome to the community.

For Community Build, only the latest version is ever supported, so that’s the one you’ll want to install.

For custom rules, the docs should get you started.

 
HTH,
Ann

Thanks for the info G Ann Campbell, As per your guidance I need to install Community Build (Free and open source for productivity & code quality) Release 25.4.0.105899 so that I can create the custom rules using below option,
Option 1. Adding XPath rules directly through the SonarQube Server web interface
Option 2. Writing a SonarQube Server plugin in Java that uses SonarQube Server APIs to add new rules.

I would like to proceed with adding custom rules via SonarQube Server web interface (Option 1), can you please provide me reference document/video links so that I can refer them.

Thank you.

Hi,

I’ve already pointed you to the docs we have.

 
HTH,
Ann