SonarScannerAliases.

SonarScanner(ICakeContext, SonarScannerSettings) Method

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
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings SonarScannerSettings The SonarScannerSettings

Return Value

Type Description
void