이 문서는 SonarQube Scanners를 통한 분석 정보를 공유하기 위해 작성되었다.
준비 사항
- 분석 파일
- SonarQube Scanner
- sonar-project.properties 파일
절차
sonar-project.properties 파일 작성
# Root project information sonar.projectKey=org.mycompany.myproject sonar.projectName=My Project sonar.projectVersion=1.0 # Some properties that will be inherited by the modules sonar.sources=src sonar.host.url=http://10.0.1.2:9000
스캐너 실행
분석 소스 코드가 있는 위치에서 스캐너 실행
d:\sonarqube\sonar-scanner-3.0.3.778\bin\sonar-scanner