Install the SonarQube web server as a first step. The default port will be localhost: 9000.
After installing SonarQube, you need to create Ant target . A sample Script is available on GitHub . If Hudson is working correctly before. It will pick up the changes in Ant Script and run the analysis. After the analysis is completed, the report will be created and available on the SonarQube web panel.
source share