SonarQube aliases

Cake.Sonar addin

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 NuGet.org:

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

SonarScanner for MSBuild

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

Cake.SonarResults addin

Build Breaking

Cake.SonarScanner addin

Contains functionality for using the Sonar Scanner tool

SonarScanner

SonarScanner(SonarScannerSettings)
Alias from Cake.SonarScanner addin
Runs SonarScanner with the specified settings
SonarScanner()
Alias from Cake.SonarScanner addin
Runs SonarScanner with the default settings