public class BuildSteps extends Object
| Modifier and Type | Method and Description |
|---|---|
static BuildSteps |
forBuildToDockerDaemon(BuildConfiguration buildConfiguration,
Caches.Initializer cachesInitializer)
All the steps to build to Docker daemon
|
static BuildSteps |
forBuildToDockerRegistry(BuildConfiguration buildConfiguration,
Caches.Initializer cachesInitializer)
All the steps to build an image to a Docker registry.
|
static BuildSteps |
forBuildToTar(Path outputPath,
BuildConfiguration buildConfiguration,
Caches.Initializer cachesInitializer)
All the steps to build an image tarball.
|
BuildConfiguration |
getBuildConfiguration() |
String |
getStartupMessage() |
String |
getSuccessMessage() |
void |
run() |
public static BuildSteps forBuildToDockerRegistry(BuildConfiguration buildConfiguration, Caches.Initializer cachesInitializer)
buildConfiguration - the configuration parameters for the buildcachesInitializer - the Caches.Initializer used to setup the cacheBuildSteps for building to a registrypublic static BuildSteps forBuildToDockerDaemon(BuildConfiguration buildConfiguration, Caches.Initializer cachesInitializer)
buildConfiguration - the configuration parameters for the buildcachesInitializer - the Caches.Initializer used to setup the cacheBuildSteps for building to a Docker daemonpublic static BuildSteps forBuildToTar(Path outputPath, BuildConfiguration buildConfiguration, Caches.Initializer cachesInitializer)
outputPath - the path to output the tarball tobuildConfiguration - the configuration parameters for the buildcachesInitializer - the Caches.Initializer used to setup the cacheBuildSteps for building a tarballpublic BuildConfiguration getBuildConfiguration()
public String getStartupMessage()
public String getSuccessMessage()
public void run()
throws InterruptedException,
ExecutionException,
CacheMetadataCorruptedException,
IOException,
CacheDirectoryNotOwnedException,
CacheDirectoryCreationException
Copyright © 2018. All rights reserved.