var checkoutMode: CheckoutMode

Defines a preferred checkout mode for the build.

By default CheckoutMode.AUTO, i.e. TeamCity will choose the optimal checkout mode for build.

Actual checkout type can be different from specified, for example, if CheckoutMode.ON_AGENT checkout type is set, but one of VCS roots does not support it, actual checkout type will be switched to CheckoutMode.ON_SERVER.