How to use Sonar plugin with Hudson?

I want to use SonarQube to analyze code quality. I have Hudson as a CI tool and integrated into a clear one. How to use SonarQube when creating Ant? Do I need to install SonarQube on the server and use the plugin to access it? Can anybody help me?

+5
source share
1 answer

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.

+1
source

Source: https://habr.com/ru/post/1265600/


All Articles