runContainer

protected open suspend override fun runContainer(input: StageResult, hostConfig: HostConfig, outVolume: DockerVolume?): DockerVolume?

Builds the Docker image backing this pipeline stage, and runs the container.

This method can be overriden if the default single-container execution does not fulfill the pipeline requirements, e.g. a parallel pipeline stage.

Parameters

input

The input to the pipeline stage.

hostConfig

The host configuration for the container.

outVolume

The output volume, if the pipeline stage emits a volume.