SonarQube Integration with Jenkins

SonarQube Integration with Jenkins

SonarQube is used for the purpose of static source code analysis. To integrate sonarqube with Jenkins we need to use Jenkins SonarQube Plugin.

Below steps, we need to follow to set up the SonarQube Report in Jenkins Dashboard.
Please Refer to this blog before to know how to integrate selenium script with selenium.

     1)   Log in into Jenkins-->Manage Jenkins and Install SonarQube Scanner Plugin. Please make sure to restart Jenkins after the plugin installation.

2) Now go to Jenkins Home Page create New Jenkins Job and in Post-Build Action selects Execute SonarQube Scanner Option.

3) Now provide the path of project properties and Analysis Properties.

Please note the path to project properties and sonar. Sources should be the path where SonarQube is installed in your machine.

 4) In the build, the section provides the path of pom.xml and in the Goals and option Section specify: Clean install sonar: sonar

5) Execute your Jenkins Job and Now Extent Report would be visible in Your Jenkins Dashboard.

Happy Learning ☺



My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post