Class AzureStorageBuilder

java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.microsoftopentechnologies.windowsazurestorage.AzureStorageBuilder
All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep, SimpleBuildStep

public class AzureStorageBuilder extends Builder implements SimpleBuildStep
  • Field Details

  • Constructor Details

    • AzureStorageBuilder

      @DataBoundConstructor public AzureStorageBuilder(String storageCredentialId, String downloadType)
  • Method Details

    • setIncludeFilesPattern

      @DataBoundSetter public void setIncludeFilesPattern(String includeFilesPattern)
    • setExcludeFilesPattern

      @DataBoundSetter public void setExcludeFilesPattern(String excludeFilesPattern)
    • setDownloadDirLoc

      @DataBoundSetter public void setDownloadDirLoc(String downloadDirLoc)
    • setFlattenDirectories

      @DataBoundSetter public void setFlattenDirectories(boolean flattenDirectories)
    • setIncludeArchiveZips

      @DataBoundSetter public void setIncludeArchiveZips(boolean includeArchiveZips)
    • setContainerName

      @DataBoundSetter public void setContainerName(String containerName)
    • setFileShare

      @DataBoundSetter public void setFileShare(String fileShare)
    • setBuildSelector

      @DataBoundSetter public void setBuildSelector(hudson.plugins.copyartifact.BuildSelector buildSelector)
    • setProjectName

      @DataBoundSetter public void setProjectName(String projectName)
    • isDeleteFromAzureAfterDownload

      public boolean isDeleteFromAzureAfterDownload()
    • setDeleteFromAzureAfterDownload

      @DataBoundSetter public void setDeleteFromAzureAfterDownload(boolean deleteFromAzureAfterDownload)
    • getBuildSelector

      public hudson.plugins.copyartifact.BuildSelector getBuildSelector()
    • isVerbose

      public boolean isVerbose()
    • setVerbose

      @DataBoundSetter public void setVerbose(boolean verbose)
    • getStorageAccName

      @Deprecated public String getStorageAccName()
      Deprecated.
    • getStorageAccName

      public String getStorageAccName(Item owner)
    • getDownloadType

      public String getDownloadType()
    • getContainerName

      public String getContainerName()
    • getProjectName

      public String getProjectName()
    • getIncludeFilesPattern

      public String getIncludeFilesPattern()
    • getExcludeFilesPattern

      public String getExcludeFilesPattern()
    • getDownloadDirLoc

      public String getDownloadDirLoc()
    • isIncludeArchiveZips

      public boolean isIncludeArchiveZips()
    • isFlattenDirectories

      public boolean isFlattenDirectories()
    • getFileShare

      public String getFileShare()
    • getRequiredMonitorService

      public BuildStepMonitor getRequiredMonitorService()
      Specified by:
      getRequiredMonitorService in interface BuildStep
      Overrides:
      getRequiredMonitorService in class Builder
    • getStorageCredentialId

      public String getStorageCredentialId()
    • getStorageAccountCredential

      public AzureStorageAccount.StorageAccountCredential getStorageAccountCredential(Item owner)
    • perform

      public void perform(@NonNull Run<?,?> run, @NonNull FilePath workspace, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener) throws IOException
      Specified by:
      perform in interface SimpleBuildStep
      Parameters:
      run - environment of build
      workspace - filepath
      launcher - env var for remote builds
      listener - logging
      Throws:
      IOException
    • getDescriptor

      Specified by:
      getDescriptor in interface Describable<Builder>
      Overrides:
      getDescriptor in class Builder