본문 바로가기
IT개발

소나큐브 (sonarqube) 다운로드, 설치, 실행

by xground 2019. 12. 24.
반응형

homepage : https://sonarqube.org 

 

Code Quality and Security | SonarQube

Continuous Code Inspection Thousands of automated Static Code Analysis rules, protecting your app on multiple fronts, and guiding your team. Code Reliability Catch tricky bugs to prevent undefined behaviour from impacting end-users. Read more Application S

www.sonarqube.org

 

"소스의 정적 분석 도구"

 

다운로드 및 설치

https://www.sonarqube.org/downloads/

 

Download | SonarQube

Download SonarQube 7.9.x LTS

www.sonarqube.org

 

기능

community 기준

 

  • 15가지 언어의 정적 분석 지원
  • 버그 및 취약점 탐지
  • 보안 hotspot에 대한 리뷰
  • 코드 smell 추적, 기술적 빛(technical debt)의 수정
  • 코드 품질 지표 및 이력 제공
  • CI/CD 통합
  • 60가지 이상의 커뮤니티 플러그인으로 확장

 

설치 및 실행

(windows 기준)

 

1) 파일 다운로드 (https://www.sonarqube.org/downloads/

   (community 버전 다운로드, 현재 8.1.0.3이며 200MB가 조금 넘는다.)

 

2) sonaqube_home/bin/windows-x86-64/StartSonar.bat 실행 

   jdk 버전이 11이상이어야 한다.

 

3) localhost:9000 으로 접속!

4) 로그인 (최초)

    ID / PW : admin / admin

 

 

 

시스템 요구 사항

https://docs.sonarqube.org/latest/requirements/requirements/

 

별도의 jdk로 실행하고 싶은 경우

sonarqube_home/conf/wrapper.conf 수정

#wrapper.java.command=/path/to/my/jdk/bin/java => 사용하고 싶은 java path로 변경한다.
#wrapper.java.command=java

 

반응형

'IT개발' 카테고리의 다른 글

nginx 사용하기 1  (0) 2020.09.26
Opensource license 정리  (0) 2020.09.18
[Errno 14] curl#35 - "Peer reports incompatible or unsupported protocol version."  (0) 2020.01.14
google driver  (0) 2020.01.13

댓글