FAKE - F# Make


SonarQubeHelper

Contains a task to run the msbuild runner of Sonar Qube analyzer.

Nested types and modules

TypeDescription
SonarQubeCall

The supported commands of Sonar Qube. It is called with Begin before compilation, and End after compilation.

SonarQubeParams

Parameter type to configure the sonar qube runner.

Functions and values

Function or valueDescription
SonarQube call setParams
Signature: call:SonarQubeCall -> setParams:(SonarQubeParams -> SonarQubeParams) -> unit

This task to can be used to run Sonar Qube on a project.

Parameters

  • call - Begin or End, to start analysis or finish it
  • setParams - Function used to overwrite the SonarQube default parameters.

Sample

SonarQube Begin (fun p -> {p with Key = "MyProject" Name = "MainTool" Version = "1.0 })

SonarQubeCall call parameters
Signature: call:SonarQubeCall -> parameters:SonarQubeParams -> unit

Execute the external msbuild runner of Sonar Qube. Parameters are fiven to the command line tool as required.

SonarQubeDefaults
Signature: SonarQubeParams

SonarQube default parameters - tries to locate MSBuild.SonarQube.exe in any subfolder.

SonarQubeEnd ()
Signature: unit -> unit

This task can be used to run the end command of Sonar Qube on a project.

Sample

SonarQubeEnd

Fork me on GitHub