public class DockerPushImageTask extends AbstractDockerRegistryTask<DockerPushImageTask>
email, image, password, registryType, sharedCredentialsIdentifier, username
environmentVariables, workingSubdirectory
conditions, description, requirements, taskEnabled
Constructor and Description |
---|
DockerPushImageTask() |
Modifier and Type | Method and Description |
---|---|
protected DockerRegistryTaskProperties |
build() |
DockerPushImageTask |
customRegistryImage(String repository)
Specify repository and image name which will be pushed to the custom registry.
|
DockerPushImageTask |
dockerHubImage(String repository)
Specify image name which will be pushed to Docker Hub.
|
boolean |
equals(Object o) |
int |
hashCode() |
authentication, authentication, authentication, defaultAuthentication
environmentVariables, workingSubdirectory
conditions, description, enabled, requirements, toString
public DockerPushImageTask dockerHubImage(@NotNull String repository)
Setting either this field or customRegistryImage(String)
is mandatory.
dockerHubImage
in class AbstractDockerRegistryTask<DockerPushImageTask>
public DockerPushImageTask customRegistryImage(@NotNull String repository)
Setting either this field or dockerHubImage(String)
} is mandatory.
customRegistryImage
in class AbstractDockerRegistryTask<DockerPushImageTask>
@NotNull protected DockerRegistryTaskProperties build()
build
in class Task<DockerPushImageTask,DockerRegistryTaskProperties>
public boolean equals(Object o)
equals
in class AbstractDockerRegistryTask<DockerPushImageTask>
public int hashCode()
hashCode
in class AbstractDockerRegistryTask<DockerPushImageTask>
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.