JobRepositories

Manages VCS repositories configuration for a job. Allows adding and configuring repositories for a job.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

List of repository entries configured for the job.

Functions

Link copied to clipboard
fun repository(vcsRoot: Id, enabled: Boolean = true, checkoutPath: String = "")

Adds a repository to the job using an ID reference.

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

Adds a repository to the job using a VCS root.

Link copied to clipboard
open override fun validate(consumer: ErrorConsumer)

Validates this object and reports found errors to the provided consumer