AgentCheckoutPolicy

Policy for checking out sources on agent

Entries

Link copied to clipboard

Uses shallow clone for short-lived agents and mirrors for regular long-lived agents.

Link copied to clipboard

Creates repository mirror on the agent machine and shares it between different builds with the same fetch URL. Most optimal approach for large repositories and long-lived agents.

Link copied to clipboard

Performs checkout right into the checkout directory without creating a mirror. Less optimal in terms of disk usage than mirrors.

Link copied to clipboard

Uses git shallow clone to checkout build revision (--depth 1). Ideal for short-lived agents.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.