Class OSSPublisher

All Implemented Interfaces:
Describable<Publisher>, BuildStep, SimpleBuildStep

public class OSSPublisher extends Publisher implements SimpleBuildStep
  • Constructor Details

  • Method Details

    • getEndpoint

      public String getEndpoint()
    • getAccessKeyId

      public String getAccessKeyId()
    • getAccessKeySecret

      public String getAccessKeySecret()
    • getBucketName

      public String getBucketName()
    • getLocalPath

      public String getLocalPath()
    • getRemotePath

      public String getRemotePath()
    • getMaxRetries

      public String getMaxRetries()
    • getObjectACL

      @CheckForNull public String getObjectACL()
    • setObjectACL

      @DataBoundSetter public void setObjectACL(@CheckForNull String objectACL)
    • isThrowExceptionWhenFilePathNotExisted

      public boolean isThrowExceptionWhenFilePathNotExisted()
    • setThrowExceptionWhenFilePathNotExisted

      @DataBoundSetter public void setThrowExceptionWhenFilePathNotExisted(boolean throwExceptionWhenFilePathNotExisted)
    • getRequiredMonitorService

      public BuildStepMonitor getRequiredMonitorService()
      Specified by:
      getRequiredMonitorService in interface BuildStep
    • perform

      public void perform(@NonNull Run<?,?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException
      Specified by:
      perform in interface SimpleBuildStep
      Throws:
      InterruptedException
      IOException