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 the actual sonar analysis and push them to sonar.
This call should follow after a SonarBegin and MSBuild.
Syntax
public static void SonarEnd(this ICakeContext context, SonarEndSettings settings)
Examples
Task("Sonar-Analyse")
.Does(() => {
var user = EnvironmentVariable("SONAR_USER");
var pass = EnvironmentVariable("SONAR_PASS");
SonarEnd(new SonarEndSettings { Login = user, Password = pass });
});
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
|
settings |
SonarEndSettings |
A settings object containing credentials. |
Return Value