This is part of the Fake.Testing.SonarQube module.
SonarQube
Contains a task to run the SonarQube static code analyzer. It uses the SonarScanner for MSBuild
Nested types and modules
Type | Description |
SonarQubeParams |
Parameter type to configure the SonarQube runner. |
Functions and values
Function or value | Description | ||
finish(setParams)
Signature: setParams:(SonarQubeParams -> SonarQubeParams) option -> unit
|
This task can be used to run the end command of Sonar Qube on a project. Parameters
Sampleopen Fake.Testing SonarQube.finish None SonarQube.finish (Some (fun p -> { p with Settings = ["sonar.login=login"; "sonar.password=password"] })) |
||
scan setParams doBetween
Signature: setParams:(SonarQubeParams -> SonarQubeParams) -> doBetween:(unit -> unit) -> unit
|
This task can be used to execute some code between
the Parameters
Sample
namespace Fake
namespace Fake.Testing
module SonarQube
from Fake.Testing val scan : setParams:(SonarQube.SonarQubeParams -> SonarQube.SonarQubeParams) -> doBetween:(unit -> unit) -> unit
val id : x:'T -> 'T
|
||
start(setParams)
Signature: setParams:(SonarQubeParams -> SonarQubeParams) -> unit
|
This task can be used to run the begin command of Sonar Qube on a project. Parameters
Sampleopen Fake.Testing SonarQube.start (fun p -> { p with Key = "MyProject" Name = "MainTool" Version = "1.0 }) |