AbstractCopyStage
Abstraction for all pipeline stages involving copy operations with volumes.
Parameters
Input type for the stage.
Output type for the stage.
OS Distribution image to use as the basis of the pipeline stage.
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.
Path to host to mount into the container for host-volume transfers.
Path to host to mount into the container as /mnt (to mount additional files aside from hostPath)
Inheritors
Constructors
Properties
Whether the container is allowed network access.
Handler describing how the stage performs necessary IO actions to retrieve stage execution outputs.
Command to execute during the pipeline stage.
Base distro image for this pipeline stage.
Instance to the Docker daemon.
Additional specifications to add to the Dockerfile.
Environment variables to provide to the runtime environment.
Convenience property for retrieving exitcode of a variable.
Whether the dockerfileSpec contains directives which are evaluated at pipeline execution time.
Whether to cache this image in the local Docker registry.
Mode to mount the mountPath as.
The logger output are stored in logs
of outputLogger after stage execution
The system resources which control what the container is allowed to access.
Convenience property for retrieving stderr content of a variable line-by-line.
Convenience property for retrieving stdout content of a variable line-by-line.
Mode to mount the in-place volume as.
Working directory of the container.
Functions
Builder method for CmdBuilder using the command language cmdLang of the stage.
Builder method for CmdBuilder using the command language cmdLang of the stage.
Configures the container during execution of the pipeline.
Copies files from the container to the host using the Docker API.
Copies files from the host to the container using the Docker API.
Base Dockerfile for all pipeline stage.
Builds a Docker image based on the Dockerfile specification as defined by this stage, overwriting any previously cached image if exists.
Determines the host configuration of the container.
Dockerfile spec for installing packages
Logs the information used to create the container for this pipeline stage.
Performs cleanup after the execution of the container.
Removes the container and temporary log volume created by this pipeline stage.
Builds the Docker image backing this pipeline stage, and runs the container.
Transforms the result of the stage into a StageResult.
Variable builder inheriting the CmdLang of this stage.