jetbrains.buildServer.configs.kotlin.v2019_2 / Dependencies / snapshot

snapshot

fun snapshot(buildType: BuildType, init: SnapshotDependency.() -> Unit): Unit

Adds a snapshot dependency on the specified buildType

Parameters

buildType - buildType to depend on

init - function to initialize the snapshot dependency

fun snapshot(buildTypeId: Id, init: SnapshotDependency.() -> Unit): Unit

Adds a snapshot dependency on the buildType with the specified id

Parameters

buildTypeId - id of the buildType to depend on

init - function to initialize the snapshot dependency