jetbrains.buildServer.configs.kotlin.v2017_2.vcs / GitVcsRoot / AgentCleanPolicy

AgentCleanPolicy

enum class AgentCleanPolicy

Specifies when the "git clean" command should be executed in case of agent-side checkout

Enum Values

NEVER

Don't run the "git clean" command

ALWAYS

Run the "git clean" command before each build

ON_BRANCH_CHANGE

Run the "git clean" command if the branch in build is different comparing to the branch in the previous build on same agent