`
sillycat
  • 浏览: 2488898 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Code SonarQube 2019(3)Scanner Configuration

 
阅读更多
Code SonarQube 2019(3)Scanner Configuration

We can directly run the command as follow:
> sonar-scanner   -Dsonar.projectKey=services.user   -Dsonar.sources=./userApi/src,./dataMigration/src   -Dsonar.host.url=http://ubuntu-master:9000   -Dsonar.login=6bd3291c57cd00a6324b27f26735d02b5bc6ef86

We can also put a file there
> cat sonar-project.properties
sonar.projectKey=services.user
sonar.host.url=http://ubuntu-master:9000
sonar.login=6bd3291c57cd00a6324b27f26735d02b5bc6ef86
sonar.sources=./userApi/src,./dataMigration/src
sonar.tests=./userApi/test,./dataMigration/test
sonar.language=TypeScript

Then run this command will be fine then
> sonar-scanner


References:
https://blog.csdn.net/clamaa/article/details/70045970



分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics