Skip to content

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

2 stars

Watchers

8 watching

Forks

Releases

Used by

Contributors

Languages