CodeQLAliases.

CodeQLInstall(ICakeContext, CodeQLInstallToolSettings) Method

Summary

Installs CodeQL on the host agent.
Assembly
Cake.CodeQL.Cli.dll
Namespace
Cake.CodeQL.Cli
Containing Type
CodeQLAliases

Syntax

public static void CodeQLInstall(this ICakeContext context, CodeQLInstallToolSettings settings)

Examples

 //Example of C# compiled language

  CodeQLInstall(context, nnew CodeQLInstallToolSettings
  {
     Force = false,
     WorkingDirectory = "./",
     InstallDirectory = "./tools/codeql"
  }/

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

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

Return Value

Type Description
void