- 安装全局工具
dotnet tool install --global dotnet-sonarscanner - 创建应用,保存自己的密钥
- 执行命令
dotnet sonarscanner begin /k:"项目名称" /d:sonar.host.url="http://IP:3005" /d:sonar.token="sqp_密钥"
dotnet build
dotnet sonarscanner end /d:sonar.token="sqp__密钥"
本博客所有文章除特别声明外,均采用
CC BY-NC-SA 4.0
许可协议。转载请注明来自飞客 !
评论
评论