CodeQLAliases.

CodeQLReportInstall(ICakeContext, CodeQLReportInstallToolSettings) Method

Summary

Installs GitHub Advanced Security Code Scan Report cli on the host agent.
Assembly
Cake.CodeQL.Cli.dll
Namespace
Cake.CodeQL.Cli
Containing Type
CodeQLAliases

Syntax

public static void CodeQLReportInstall(this ICakeContext context, CodeQLReportInstallToolSettings settings)

Examples

 //Example of C# compiled language

  CodeQLReportInstall(context, nnew CodeQLReportInstallToolSettings
  {
     Force = false,
     WorkingDirectory = "./",
     InstallDirectory = "./tools/codeql/reports"
  }/

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings CodeQLReportInstallToolSettings The settings.

Return Value

Type Description
void