public abstract class AbstractDockerRegistryTask<T extends AbstractDockerRegistryTask<T>> extends AbstractDockerTask<T,DockerRegistryTaskProperties>
DockerPushImageTask or
DockerPullImageTask.| Modifier and Type | Field and Description |
|---|---|
protected @Nullable String |
email |
protected @NotNull String |
image |
protected @Nullable String |
password |
protected DockerRegistryTaskProperties.RegistryType |
registryType |
protected @Nullable SharedCredentialsIdentifierProperties |
sharedCredentialsIdentifier |
protected @Nullable String |
username |
environmentVariables, workingSubdirectoryconditions, description, requirements, taskEnabled| Constructor and Description |
|---|
AbstractDockerRegistryTask() |
| Modifier and Type | Method and Description |
|---|---|
T |
authentication(@NotNull SharedCredentialsIdentifier sharedCredentialsIdentifier)
Sets authentication settings to authenticate to Docker registry by Shared credentials.
|
T |
authentication(@NotNull String username,
@NotNull String password)
Sets authentication settings to authenticate to Docker registry.
|
T |
authentication(@NotNull String username,
@NotNull String password,
@NotNull String email)
Sets authentication settings to authenticate to Docker registry.
|
T |
customRegistryImage(@NotNull String image) |
T |
defaultAuthentication()
Use agent's ~/.dockercfg credentials to authenticate to Docker registry.
|
T |
dockerHubImage(@NotNull String image) |
boolean |
equals(Object o) |
int |
hashCode() |
environmentVariables, workingSubdirectorybuild, conditions, description, enabled, requirements, toString@NotNull protected @NotNull String image
@NotNull protected DockerRegistryTaskProperties.RegistryType registryType
@Nullable protected @Nullable String username
@Nullable protected @Nullable String password
@Nullable protected @Nullable String email
@Nullable protected @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier
public T authentication(@NotNull @NotNull String username, @NotNull @NotNull String password, @NotNull @NotNull String email)
defaultAuthentication()public T authentication(@NotNull @NotNull String username, @NotNull @NotNull String password)
defaultAuthentication()public T authentication(@NotNull @NotNull SharedCredentialsIdentifier sharedCredentialsIdentifier)
public T defaultAuthentication()
public boolean equals(Object o)
equals in class AbstractDockerTask<T extends AbstractDockerRegistryTask<T>,DockerRegistryTaskProperties>public int hashCode()
hashCode in class AbstractDockerTask<T extends AbstractDockerRegistryTask<T>,DockerRegistryTaskProperties>Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.