https://github.com/cake-contrib/cake.sonarscanner
Cake aliases for SonarScanner. To be used in conjunction with the sonar-scanner tool.
https://github.com/cake-contrib/cake.sonarscanner
augustoproiete cake cake-addin cake-build cake-contrib hacktoberfest sonar sonar-scanner sonarscanner
Last synced: 5 days ago
JSON representation
Cake aliases for SonarScanner. To be used in conjunction with the sonar-scanner tool.
- Host: GitHub
- URL: https://github.com/cake-contrib/cake.sonarscanner
- Owner: cake-contrib
- License: mit
- Created: 2017-06-27T12:31:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-16T19:59:17.000Z (almost 4 years ago)
- Last Synced: 2025-04-17T21:26:53.363Z (11 days ago)
- Topics: augustoproiete, cake, cake-addin, cake-build, cake-contrib, hacktoberfest, sonar, sonar-scanner, sonarscanner
- Language: C#
- Homepage: https://cakebuild.net/extensions/cake-sonarscanner/
- Size: 91.8 KB
- Stars: 2
- Watchers: 9
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cake.SonarScanner
Cake aliases for SonarScanner. To be used in conjunction with the sonar-scanner tool.
## Give a Star! :star:
If you like or are using this project please give it a star. Thanks!
## Pre requisites
Ensure [sonar-scanner](https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner) is on your path
Suggestion: use chocolatey. https://chocolatey.org/packages/sonarqube-scanner.portable
## Usage
```cs
#addin "nuget:?package=Cake.SonarScanner"
// Assuming a sonar-scanner.properties on the current directory
SonarScanner(new SonarScannerSettings {
Properties = new Dictionary {
{"sonar.login", EnvironmentVariable("sonar_scanner_token")}
}
});
```## Important
.net projects should use the MSBuild scanner for SonarQube.
See https://github.com/AgileArchitect/Cake.Sonar[](https://ci.appveyor.com/project/pitermarx/cake-sonarscanner)
[](https://www.nuget.org/packages/Cake.SonarScanner/)
[](https://coveralls.io/github/pitermarx/Cake.SonarScanner?branch=master)
[](https://sonarcloud.io/dashboard/index/pitermarx:Cake.SonarScanner)## Discussion
For questions and to discuss ideas & feature requests, use the [GitHub discussions on the Cake GitHub repository](https://github.com/cake-build/cake/discussions), under the [Extension Q&A](https://github.com/cake-build/cake/discussions/categories/extension-q-a) category.
[](https://github.com/cake-build/cake/discussions)
## Release History
Click on the [Releases](https://github.com/cake-contrib/Cake.SonarScanner/releases) tab on GitHub.
---
_Copyright © 2017-2021 Cake Contributors - Provided under the [MIT License](LICENSE)._