Sign inSign up

corentinaltepe/sonar-mono-scanner

By corentinaltepe

•Updated almost 9 years ago

Sonar Scanner for .NET Core (C# and VB) projets. Image based on Linux/Mono.

Image
1

10K+

corentinaltepe/sonar-mono-scanner repository overview

This image enables running a Sonar scan with MSBuild for C#/VB.Net projets on .NET Core with a Linux image. The main advantage is that the Docker image can be run on Linux or Windows regardless.

⁠How To

  1. Copy your project source code to /app/MyProjetName/ folder
  2. mono ~/Tools/ScannerMSBuild/SonarQube.Scanner.MSBuild.exe begin /d:sonar.login=XYZ /k:MyProjetName dotnet restore dotnet build dotnet test mono ~/Tools/ScannerMSBuild/SonarQube.Scanner.MSBuild.exe end /d:sonar.login=XYZ

Tag summary

Content type

Image

Digest

Size

769 MB

Last updated

almost 9 years ago

docker pull corentinaltepe/sonar-mono-scanner