repository

fun repository(vcsRoot: VcsRoot, enabled: Boolean = true, checkoutPath: String = "")

Adds a repository to the job using a VCS root.


fun repository(vcsRoot: Id, enabled: Boolean = true, checkoutPath: String = "")

Adds a repository to the job using an ID reference.