dependency

fun dependency(buildTypeId: IdOwner, init: Dependency.() -> Unit)

Adds a dependency on the buildType or pipeline with the specified id, it should be further configured using snapshot() and artifacts() methods. Useful when an external entity is not defined in kotlin.

Parameters

buildTypeId

buildType to depend on

init

function to initialize the dependency