SonarScannerAliases.

SonarScanner(ICakeContext) Method

Summary

Runs SonarScanner with the default settings
Assembly
Cake.SonarScanner.dll
Namespace
Cake.SonarScanner
Containing Type
SonarScannerAliases

Syntax

public static void SonarScanner(this ICakeContext context)

Examples

Use the #addin preprocessor directive

#addin "nuget:?package=Cake.SonarScanner"

Cake task:

Task("SomeTask").Does(() =>  SonarScanner());

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
void