Contains functionality for running a Sonar analysis on a c# project using the MSBuild SonarQube Runner.

In order to use the commands for this addin, include the following in your build.cake file to download and reference from

#addin "nuget:?package=Cake.Sonar"
#tool "nuget:?package=MSBuild.SonarQube.Runner.Tool"


Sonar(ICakeContext, Action<ICakeContext>, SonarBeginSettings) Run a self-contained analysis for the specified action. The action should run msbuild.
Addin from Cake.Sonar.dll
SonarBegin(ICakeContext, SonarBeginSettings) Initialise msbuild for sonar analysis.
Addin from Cake.Sonar.dll
SonarEnd(ICakeContext, SonarEndSettings) Run the actual sonar analysis and push them to sonar. This call should follow after a SonarBegin and MSBuild.
Addin from Cake.Sonar.dll