2302221614@Sonar

Author Avatar
ClueeZhuo 2月 22, 2023

dotnet-sonarscanner

1
dotnet tool install --global dotnet-sonarscanner

begin

1
dotnet sonarscanner begin /k:"Hisense.Pipeline.Net7" /d:sonar.host.url="http://localhost:59001"  /d:sonar.login="33842a647ec7bd8c7803e2a24aab860b2aea04de"

build

1
dotnet build

end

1
dotnet sonarscanner end /d:sonar.login="33842a647ec7bd8c7803e2a24aab860b2aea04de"