public class DockerPullImageTask extends AbstractDockerRegistryTask<DockerPullImageTask>
email, image, password, registryType, sharedCredentialsIdentifier, usernameenvironmentVariables, workingSubdirectoryconditions, description, requirements, taskEnabled| Constructor and Description |
|---|
DockerPullImageTask() |
| Modifier and Type | Method and Description |
|---|---|
protected DockerRegistryTaskProperties |
build() |
DockerPullImageTask |
customRegistryImage(String repository)
Specify repository and image name which will be pulled from the custom registry.
|
DockerPullImageTask |
dockerHubImage(String repository)
Specify image name which will be pulled from Docker Hub.
|
authentication, authentication, authentication, defaultAuthenticationenvironmentVariables, workingSubdirectoryconditions, description, enabled, requirementspublic DockerPullImageTask dockerHubImage(@NotNull String repository)
Setting either this field or customRegistryImage(String) is mandatory.
dockerHubImage in class AbstractDockerRegistryTask<DockerPullImageTask>public DockerPullImageTask customRegistryImage(@NotNull String repository)
Setting either this field or dockerHubImage(String)} is mandatory.
customRegistryImage in class AbstractDockerRegistryTask<DockerPullImageTask>@NotNull protected DockerRegistryTaskProperties build()
build in class Task<DockerPullImageTask,DockerRegistryTaskProperties>Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.