AgentCheckoutPolicy

enum AgentCheckoutPolicy : Enum<GitVcsRoot.AgentCheckoutPolicy>

Policy for checking out sources on agent

Entries

Link copied to clipboard

Uses git shallow clone to checkout build revision (--depth 1). Ideal for short-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

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

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

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int