After installing the sonar, you need to integrate with the Jenkins that the project is in, and the principle of Jenkins and sonar integration is probably this, Jenkins in its plug-in Management center, download the sonar plug-in and configure it with the sonar connection. Jenkins then notifies sonar of the operation of the source code analysis once the integrated build is completed. We all know Jenkins in the process of construction is to download from the SVN source this step of the operation,
1. SonarQube Scanner AddressIn the previous article we installed the SonarQube-7.3 so that we can view the code quality on the page. But the specific scanning work needs Sonarqube scanner to complete.Download page1 https://Docs.sonarqube.org/display/scan/analyzing+with+sonarqube+scanner 2. Install
HTTP/www.sonarqube.orgMysqlUnsupported MySQL version:5.5. Minimal supported version is 5.6.There is well-known engines that can is used in Mysql:myisam and InnoDB. MyISAM is the oldest of the engines and is being progressively replaced by InnoDB. InnoDB is clearly faster and scales better with SonarQube as the number of projects under quality control increases. If you were the early adopter of SonarQube, yo
be used, it is worth mentioning that Sonar also supports deployment in Apache Tomcat application servers. In a Windows environment, start SOANR directly under Windows-x86-64\startsonar.bat in the Bin directory. And then access in the browser: http://localhost:9000/(Chinese will need to download the additional Chinese package):Documentation and some jar packages and plug-in installation click Run Analysis:First sign in to the configuration item:The default is: Admin,admin.After loginClick Provis
Http://www.voidcn.com/blog/lidujun1028/article/p-3831235.htmlSonar (SonarQube) is an open source platform for managing the quality of source code. Sonar is not just a quality data reporting tool, but also a code quality management platform. Supported languages include: Java, PHP, C #, C, Cobol, PL/SQL, Flex, and more.Main Features:
Code overwrite: Through unit tests, which line of code will be shown to be selected
Improve coding Rules
Install and configure SonarQube in centos 6.5
1. Download the installation package:Http://www.sonarqube.org/downloads/
2. Upload the server and decompress it:
Unzip sonarqube-5.6.zip-d/dir
3. Install MySQL and enter mysql
3.1 mysql-u root-p3.2 create a database and an account:
mysql> CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci; mysql> CREATE USER 'sonar' IDENTIFIED BY 'sonar';mysql> GRA
Conditions:1. Installed Java Environment2. The PostgreSQL database has been installed
A. Download
Download Address: http://www.sonarqube.org/downloads/
I downloaded 5.3.
After the download, unzip, put the folder you want to put
Two. Configure
Be sure to have the JDK installed locallyTo use that database, configure it under that database.
D:\sonarqube-5.3\conf under Sonar.properties
I'm using a PostgreSQL.
#-----PostgreSQL 8.x/9.x
# If you don ' t
The latest version of Sonarqube (4.5.1) downloaded by Startsonar.bat file can be started, but cannot be started by Startntservice.bat file because the default temp file is not writable, Java.lang.IllegalStateException:Temp Directory is not writable:c:\windows\system32\config\systemprofile\appdata\ Local\temp\ Initially wanted to modify the Temp folder's properties so that it could be written, but did not succeed, and had to change the location of
SonarQube code quality management tool environment preparation notes
SonarQube code quality management tool environment building notes
Put your technical debt under controlProductivity is falling?Confess your source code to clean it up!
Step 1: Install SONAR
1. Prepare the JAVA environment.2. Create an Oracle tablespace and a user.2. download the latest sonar and decompress it to the directory C: \ app \ so
SonarQube 5.5 released, Sonar (SonarQube) is an open source platform for managing the quality of source Code. Sonar is not just a quality data reporting tool, but also a code quality management Platform. Supported languages include: Java, PHP, C #, c, Cobol, pl/sql, Flex, and More.
When you use Sonar-scanner to scan your code, the error is as follows:
Error:error during Sonarqube Scanner executionJava.lang.IllegalStateException:Error when executing blame the for file ...... Java-----At Org.sonar.plugins.scm.svn.SvnBlameCommand.blame (svnblamecommand.java:102)At Org.sonar.plugins.scm.svn.SvnBlameCommand.blame (svnblamecommand.java:59)At Org.sonar.batch.scm.ScmSensor.execute (scmsensor.java:84)At Org.sonar.batch.sensor.SensorWr
(Continuous integration) Deploy Jenkins + MSBuild + Svn + SonarQube plugin for MSBuild on win7 (1), win7jenkins1. Introduction to Jenkins
Jenkins is a visual web tool widely used for continuous building. Continuous building is more straightforward, that is, the "Automated" Compilation, packaging, distribution and deployment of various projects. Jenkins can well Support Project Construction in various languages (such as java, c #, php), and is fully co
occupied. The method is cmd Enter, enter Netstat-ano, find the process of port number 9000 and then kill it.6, if you do not use MySQL, you can also use Sonar's own internal database.II, Sonar Sonar Runner1, official website download Sonar-runner2, modify the environment variable Sonarruner_home,path. Make sure that the sonar command can be run in cmd without error.3, modify the configuration file Snar-runer.properties, where the database username,password,url to be consistent with the above s
installed, the registry changes (regedit Hkey_local_machine-system-currentcontrolset-services/mysql ImagePath) are required.)
Executes mysqld--initialize-insecure--user=mysql. If there is an error (Error CODE2: There is no this directory), then carefully look at the output path, is not your path (\ t and the like will be escaped, perhaps I should have changed to/testtool, so there is no problem). The data directory is created. There will be initialized database files in the data directory.
1 Background 1.1 Docker introductionDocker is a container engine project based on lightweight virtualization technology from Docker, the entire project is based on the go language and complies with the Apache 2.0 protocol. Today, Docker can quickly automate deployment of applications within the container, and can provide container resource isolation and security
Docker installation and sharing of common commands and sharing of common docker commands
Basic commands
1. To install docker in yum, the root permission is required.
Yum install docker
2. Start docker
Systemctl start docker. servi
Docker Quick Start-common docker commands 1. Introduction to docker commands 1. Introduction to docker commands
You can run the sudo docker or sudo docker HELP command to view the docker
1 PrefaceSince its inception, Docker has led the technology boom in lightweight virtualization containers. In this trend, Google, IBM, Redhat and other industry leaders have joined the Docker camp. While Docker is still primarily based on the Linux platform, Microsoft has repeatedly announced support for Docker, from p
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.