This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Sonar.
Summary
Run a self-contained analysis for the specified action.
The action should run msbuild.
Syntax
public static void Sonar(this ICakeContext context, Action<ICakeContext> action, SonarBeginSettings settings)
Examples
Task("Sonar")
.Does(() => {
var settings = new SonarBeginSettings() {
...
};
Sonar(ctx => ctx.MsBuild(solution), settings);
});
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The cake context |
| action |
Action<ICakeContext> |
|
| settings |
SonarBeginSettings |
|
Return Value