Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 2.11 KB

README.md

File metadata and controls

48 lines (31 loc) · 2.11 KB

Cake.SonarScanner

Cake aliases for SonarScanner. To be used in conjunction with the sonar-scanner tool.

Give a Star! ⭐

If you like or are using this project please give it a star. Thanks!

Pre requisites

Ensure sonar-scanner is on your path

Suggestion: use chocolatey. https://chocolatey.org/packages/sonarqube-scanner.portable

Usage

#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")}
    }
});

Important

.net projects should use the MSBuild scanner for SonarQube. See https://github.com/AgileArchitect/Cake.Sonar

Build status NuGet Coverage Status Quality Gate

Discussion

For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.

Join in the discussion on the Cake repository

Release History

Click on the Releases tab on GitHub.


Copyright © 2017-2021 Cake Contributors - Provided under the MIT License.