- 58
- 0
- 约2.15千字
- 约 10页
- 2016-11-22 发布于贵州
- 举报
SonarQub代码质量管理平台搭建手册
SonarQube代码质量管理平台搭建手册(集成jenkins进行自动化代码审查)
安装SonarQube
1.1 步骤1
准备好java环境(本次测试系统为windows,linux环境下可参照windows步骤)
1.2 步骤2
进入官网下载SonarQube,解压到目录D:\sonar\sonar5.4(可解压到任意目录)
1.3 步骤3
修改D:\sonar\sonar5.4\conf\perties(也可以使用默认数据库H2,可选)
sonar.jdbc.username=sonar
sonar.jdbc.password=sonar
sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=truecharacterEncoding =utf8rewriteBatchedStatements=trueuseConfigs=maxPerformance
1.4 步骤4
执行D:\sonar\sonar5.4\bin\windows-x86-64\StartSonar.bat(操作系统为wimdows 64), 启动自带的JETTY服务器。
显示如下页面:
打开http://localhost:9000,如果显示sonar主页,则sonar安装成功。
1.5 步骤5
安装中文插件:将插
原创力文档

文档评论(0)