安装Sonar 静态代码检查工具

简介:

 In order to check code quality of canton-estore and don’t push to Bleum Hydra CQ every time , please install the Sonar server in your local machine as follows:

 

 

(1)    Copy settings.xml from the attachment and replace the old one in <Your User Root Directory>/.m2/settings.xml

(2)    Copy the Sonar server from \\192.168.0.238\Canton\Software\sonar-2.13.1.zip and paste to your local disk.

(3)    Configure the environment as follows:

 


 

(4)    Go to %SONAR_HOME%/ bin/windows-x86-32 and run the script named  StartSonar.bat until you see the following output.

 

(5)    Go to http://localhost:9000  ,the account and password are both “admin” to see whether you have installed successfully.

 

(6)    Create a Maven configuration as follows:

 

(7)    Run it  ,then you will see the analyzed report at  localhost:9000

 


 





本文转自 charles_wang888 51CTO博客,原文链接:http://blog.51cto.com/supercharles888/834280,如需转载请自行联系原作者

目录
相关文章
|
SQL 安全 IDE
SonarQube使用介绍
SonarQube使用介绍
1861 0
SonarQube使用介绍
五分钟带你玩转sonar(五)教你使用SonarLint插件
五分钟带你玩转sonar(五)教你使用SonarLint插件
2576 0
五分钟带你玩转sonar(五)教你使用SonarLint插件
|
Java jenkins 持续交付
SonarQube安装遇到的常见报错问题启动不起来等
SonarQube安装遇到的常见报错问题启动不起来等
|
JavaScript Java Go
sonar 使用常见问题总结
Sonar 是一个开源平台,用于管理源代码质量的工具。Sonar 不只是一个质量数据报告工具,更是代码质量管理的平台。它支持非常多的语言,包括常见的 Java、PHP、C#、C、Golang、JS等。在安装部署和使用的过程会经常遇到各种问题,今天简单梳理一下自己遇到的几个问题。
1226 0
sonar 使用常见问题总结
|
存储 Java 关系型数据库
Sonar环境搭建
Sonar环境搭建
262 0
Sonar环境搭建
|
安全 Java Linux
SonarQube的安装和使用
SonarQube®是一款自动代码审查工具,可以检测代码中的bug、漏洞和代码气味。它可以与您现有的工作流集成,以支持跨项目分支和拉出请求的持续代码检查。 就是一个痛苦面具…… 哈哈,根据该工具定义的规则,对代码进行扫描~ 有这五种严重性和三种类型
276 0
|
安全 Oracle 关系型数据库
SonarQube搭建手记
这篇文章记录的是SonarQube服务搭建的详细过程,应用于云迁移后的PipleLine的代码扫描环节。
479 0
SonarQube搭建手记
|
存储 IDE Java
SonarQube环境搭建
SonarQube是一款开源的代码质量检查工具,主要用于源代码的质量检查,是devops流水线中很常用的一个工具,以插件化的形式,支持多种编程/脚本语言的代码分析,同时也提供了对常用IDE工具的支持。
SonarQube环境搭建
|
关系型数据库 MySQL Java
sonarqube的安装
安装jdk8最后一个版本的sonarqube 代码检测平台
292 0
|
网络协议 Java 关系型数据库
SonarQube
SonarQube 简介及安装
678 0