????????????????????????ó??????????????????????????????????Щ?????????????????????????????????????????????????????????????????????  ?????????sonarqube(??汾???sonar??ww.sonarqube.org)????????????????к????????sonarqube???7???????????????????ж?????????????????????o????????????????????????rules????????????????ú??????????????д????????????????к??????
????Sonarqube?????
????Sonarqube?????3 ????:
???????°????????Linux?μ??????
?????????:
???????????????mysql???????????SQL??
????CREATEDATABASEsonarCHARACTERSETutf8COLLATEutf8_general_ci;
???????????????sonarqube????????????д???????
   web????  ???sonarqube/conf/sonar.properties
# Permissions to create tables?? indices and triggers must be granted to JDBC user.
# The schema must be created first.
sonar.jdbc.username=mysql_username
sonar.jdbc.password=mysql_password
# Comment the following line to deactivate the default embedded database.
#sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar
#----- MySQL 5.x
# Comment the embedded database and uncomment the following line to use MySQL
sonar.jdbc.url=jdbc:mysql://192.168.22.99:3306/sonarqube?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=t
sonar.web.host=0.0.0.0
sonar.web.context=/sonarqube
sonar.web.port=9001
????sonarqube???web???????????????????????????tomcat???????????????sonar web????????????????sonarqube/bin/linux-x86-64???£????./sonar.sh start?????????????κ?????????log: sonarqube/logs/sonar.log?? ????????????http://192.168.22.99:9001/sonarqube?? ???????棬????????????admin/admin
????????????
????Sonarqube?????? ???20+??????? Java?? python?? C#?? C/C++?? PL/SQL?? Cobol??? ??C????????????????????http://docs.codehaus.org/display/SONAR/Plugin+Library ????????????????????sonarqube/extensions/plugins???£?????web?????ɡ?
?????????????5???
????SonarQube Runner(???????漸?????????)??
????Maven????maven????????????
????SonarQube Ant Task????ant????????????
????Gradle????Gradle??????????????????????
????CI Engine???????Jenkins ?? Hudson??CI??????????