Reprint Please note the source: http://blog.csdn.net/hwhua1986/article/details/62426560
Reference, please refer to SONAR website parameter Analysis page: https://docs.sonarqube.org/display/SONAR/Analysis+Parameters
The last time was by modifying the identity of the sonar management system
A better way to find out recently is to increase the "branch" parameter.
1. Add "Sonarqube analysis with Maven" in the Jenkins build operation.
2. Add Branch (branch) to the Sonarqube analysis with MAVEN and name the current Sonar Analytics project as one of the branches, as shown below
3, the implementation of the results can be seen in the build added "-dsonar.branch=xiangxiang", generate the address of the report added "Xiangxiang", the following figure
4, send the report address as follows:
5, sonar management system as follows: Three branches of the statistics in different projects