This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.SonarScanner.
Summary
Runs SonarScanner with the specified settings
- Assembly
- Cake
.SonarScanner .dll - Namespace
- Cake
.SonarScanner - Containing Type
- SonarScannerAliases
Syntax
public static void SonarScanner(this ICakeContext context, SonarScannerSettings settings)
Examples
Use the #addin preprocessor directive
#addin "nuget:?package=Cake.SonarScanner"
Cake task:
Task("SomeTask").Does(() => SonarScanner(new SonarScannerSettings
{
});
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| settings | SonarScannerSettings | The SonarScannerSettings |
Return Value
| Type | Description |
|---|---|
| void |
