PipelineRepositories

Manages VCS repositories configuration for a pipeline. Allows adding repositories with default checkout behavior.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

List of repository entries configured for the pipeline.

Functions

Link copied to clipboard
fun repository(id: Id, enabledByDefault: Boolean = true)

Adds a repository to the pipeline using an ID reference.

fun repository(vcsRoot: VcsRoot, enabledByDefault: Boolean = true)

Adds a repository to the pipeline using a VCS root.

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

Validates the repositories configuration. Ensures that at most one repository is marked as enabled by default.