Class DockerBuilderPublisher

    • Field Detail

      • dockerFileDirectory

        public final String dockerFileDirectory
      • pushOnSuccess

        public final boolean pushOnSuccess
      • cleanImages

        public final boolean cleanImages
      • cleanupWithJenkinsJobDelete

        public final boolean cleanupWithJenkinsJobDelete
      • cloud

        @CheckForNull
        public final String cloud
      • noCache

        public boolean noCache
      • pull

        public boolean pull
    • Constructor Detail

      • DockerBuilderPublisher

        @DataBoundConstructor
        public DockerBuilderPublisher​(String dockerFileDirectory,
                                      @Nullable
                                      org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint fromRegistry,
                                      @Nullable
                                      String cloud,
                                      @Nullable
                                      String tagsString,
                                      boolean pushOnSuccess,
                                      @Nullable
                                      String pushCredentialsId,
                                      boolean cleanImages,
                                      boolean cleanupWithJenkinsJobDelete)
    • Method Detail

      • getRegistry

        @Deprecated
        public org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint getRegistry​(com.github.dockerjava.api.model.Identifier identifier)
        Deprecated.
      • getPushCredentialsId

        @CheckForNull
        public String getPushCredentialsId()
      • getTags

        @CheckForNull
        public List<String> getTags()
      • setTags

        public void setTags​(List<String> tags)
      • getTagsString

        @NonNull
        public String getTagsString()
      • setTagsString

        public void setTagsString​(String tagsString)
      • setBuildArgs

        @DataBoundSetter
        public void setBuildArgs​(Map<String,​String> buildArgs)
      • getBuildArgsString

        @NonNull
        public String getBuildArgsString()
      • setBuildArgsString

        @DataBoundSetter
        public void setBuildArgsString​(String buildArgsString)
      • getFromRegistry

        @CheckForNull
        public org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint getFromRegistry()
      • isNoCache

        public boolean isNoCache()
      • setNoCache

        @DataBoundSetter
        public void setNoCache​(boolean noCache)
      • isPull

        public boolean isPull()
      • setPull

        @DataBoundSetter
        public void setPull​(boolean pull)