AbstractCopyStage

constructor(inType: KClass<out StageResult>, outType: KClass<out StageResult>, baseDistro: OSDockerfile, fileToDest: Map<String, String> = mapOf("*" to ""), hostPath: Path? = null, mountPath: Path? = null)

Parameters

inType

Input type for the stage.

outType

Output type for the stage.

baseDistro

OS Distribution image to use as the basis of the pipeline stage.

fileToDest

Map of files to copy, each filename can be mapped to a named destination subdirectory under '/out' (default to the root of EnvPath.COMPOSITE_OUT_PATH). Allows using '*' as Shell script expansions.

hostPath

Path to host to mount into the container for host-volume transfers.

mountPath

Path to host to mount into the container as /mnt (to mount additional files aside from hostPath)