jetbrains.buildServer.configs.kotlin.v10 / VcsSettings / root

root

fun root(root: VcsRoot, vararg rules: String): Unit

Attaches the specified VCS root with the given checkout rules to a template or buildType

Parameters

root - VCS root

rules - checkout rules, omit if you want to use default checkout rules

See Also

VcsRoot

fun root(rootExtId: String, vararg rules: String): Unit

Attaches a VCS root with the specified extId with the given checkout rules to a template or buildType. This method can be used to attach a VCS root which is not defined in Kotlin.

Parameters

rootExtId - VCS root external id

rules - checkout rules, omit if you want to use default checkout rules