public class DockerClientHelper extends Object
| Constructor and Description |
|---|
DockerClientHelper() |
DockerClientHelper(PrintStream buildLogger) |
| Modifier and Type | Method and Description |
|---|---|
String |
fetchImageId(com.github.dockerjava.api.DockerClient dockerClient,
String image) |
com.github.dockerjava.api.DockerClient |
getDockerClient(String dockerUrl,
String dockerCert) |
void |
tagTheImage(com.github.dockerjava.api.DockerClient dockerClient,
String imageIdOrName,
String imageId) |
public DockerClientHelper()
public DockerClientHelper(PrintStream buildLogger)
public com.github.dockerjava.api.DockerClient getDockerClient(String dockerUrl, String dockerCert)
public String fetchImageId(com.github.dockerjava.api.DockerClient dockerClient, String image) throws hudson.AbortException, UnknownHostException
hudson.AbortExceptionUnknownHostExceptionCopyright © 2016–2020. All rights reserved.