Sonar Qube QA

Source: Internet
Author: User

Configuration:
1. Configure environment variable Sonar_runner_home
2. Configure path: Increase%sonar_runner_home%\bin
3. Create sonar-project.properties at the root of your local project

Sonar-project.properties:

Sonar.projectkey=keyinsonartasklist  //eg:sonartask_1sonar.projectname=nameinsonartasklist//eg:sonarTask_ 1SONAR.PROJECTVERSION=1.0-SNAPSHOTSONAR.SOURCES=SRC//relative path, path of source relative to Sonar-project.properties,                  // Because of the configuration sonar.modules, SRC can be written, if no sonar.modules is configured,      //needs to be written Project1/src,project2/srcsonar.modules=project1, project2//module is a project folder that is similar to sonar-project.properties sonar.language= if it is Java code, fill in Java, and if it is groovy code, Fill in Grvysonar.sourceencoding=utf-8//According to the project needs, such as GBK

Sonar-runner.bat:

@echo offcd/d%~dp0sonar-runner

Sonar Qube QA

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.