源碼檢測工具-Sonarqube
- Timmy TSENG
- 2022年12月24日
- 讀畢需時 1 分鐘
已更新:2022年12月25日
安裝sonarqube server
brew install sonar
安裝sonarqube client
brew install sonar-scanner
啟動sonarqube server
brew services start sonarqube
登入server 介面
client 在掃描路徑下執行掃描
sonar-scanner \ -Dsonar.projectKey=SalesProject \ -Dsonar.sources=. \ -Dsonar.host.url= http://localhost:9000 \ -Dsonar.login=feb2c84dacaf080d46ac52214edd1b32f8784b7a
下載pdf插件

將插件放到插件路徑下
/opt/homebrew/Cellar/sonarqube/9.8.0.63668/libexec/extensions/plugins

Comments