SonarCakeAliases.

SonarBegin(ICakeContext, SonarBeginSettings) Method

Summary

Initialise msbuild for sonar analysis.
Assembly
Cake.Sonar.dll
Namespace
Cake.Sonar
Containing Type
SonarCakeAliases

Syntax

public static void SonarBegin(this ICakeContext context, SonarBeginSettings settings)

Examples

Task("Initialise-Sonar")
   .Does(() => {
      SonarBegin(new SonarBeginSettings{
         Name = "My.Project",
         Key = "MP",
         Url = "http://localhost:9000"     
      });
  });

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext
settings SonarBeginSettings A required settings object.

Return Value

Type Description
void