Continuous code Quality Management-sonarqube scanner deployment

Source: Internet
Author: User

1. SonarQube Scanner Address

In 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 page

1 https://Docs.sonarqube.org/display/scan/analyzing+with+sonarqube+scanner    

2. Install Sonarqube Scanner2.1. Software Installation
1[Email protected] software]$pwd2/app/Software3[Email protected] software]$wgetHttps//Binaries.sonarsource.com/distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip4[Email protected] software]$Unzipsonar-scanner-cli-3.2.0.1227-linux.Zip5[Email protected] software]$MVsonar-scanner-3.2.0.1227-linux/app/6[Email protected] software]$ cd/app/7[Email protected] ~]$LN-S sonar-scanner-3.2.0.1227-linux/sonar-Scanner8[Email protected] ~]$ ll-d sonar-scanner*9lrwxrwxrwx1Yun Yun toOct -  the: -Sonar-scanner-sonar-scanner-3.2.0.1227-linux/TenDrwxr-xr-x6Yun YunWuyiMay at  the: +sonar-scanner-3.2.0.1227-linux

2.2. Configuration changes
1[Email protected] conf]$pwd2/app/sonar-scanner/conf3[Email protected] conf]$ vim sonar-scanner.properties4#-----Default SonarQube Server5Sonar.host.url=http://mini04:90006 7#-----Default Source code encoding8sonar.sourceencoding=utf-89 TenSonar.jdbc.username=Sonar Onesonar.jdbc.password=Sonar ASonar.jdbc.url=jdbc:mysql://Mini05:3306/sonar?useunicode=true&characterencoding=utf8

Continuous code Quality Management-sonarqube scanner deployment

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.