No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
GitVersion.yml
LICENSE
README.md
appveyor.yml

README.md

Cake.SonarScanner

Pre requisites

Either use Cake.Chocolatey.Module or ensure sonar-scanner is on your path

Usage

#tool "choco:?package=sonarcube-scanner&version=3.0.3.778&include=./**/*.bat"
#addin "nuget:?package=Cake.SonarScanner"
    
// Assuming a sonar-scanner.properties on the current directory
SonarScanner(new SonarScannerSettings {
    Properties = new Dictionary<string, string> {
        {"sonar.login", EnvironmentVariable("sonar_scanner_token")}
    }
});

Build status NuGet Coverage Status Quality Gate