Class AzureStorageBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.microsoftopentechnologies.windowsazurestorage.AzureStorageBuilder
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhudson.plugins.copyartifact.BuildSelector
Deprecated.getStorageAccName
(Item owner) getStorageAccountCredential
(Item owner) boolean
boolean
boolean
boolean
void
void
setBuildSelector
(hudson.plugins.copyartifact.BuildSelector buildSelector) void
setContainerName
(String containerName) void
setDeleteFromAzureAfterDownload
(boolean deleteFromAzureAfterDownload) void
setDownloadDirLoc
(String downloadDirLoc) void
setExcludeFilesPattern
(String excludeFilesPattern) void
setFileShare
(String fileShare) void
setFlattenDirectories
(boolean flattenDirectories) void
setIncludeArchiveZips
(boolean includeArchiveZips) void
setIncludeFilesPattern
(String includeFilesPattern) void
setProjectName
(String projectName) void
setVerbose
(boolean verbose) Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Field Details
-
DOWNLOAD_TYPE_CONTAINER
- See Also:
-
DOWNLOAD_TYPE_PROJECT
- See Also:
-
DOWNLOAD_TYPE_FILE_SHARE
- See Also:
-
-
Constructor Details
-
AzureStorageBuilder
-
-
Method Details
-
setIncludeFilesPattern
-
setExcludeFilesPattern
-
setDownloadDirLoc
-
setFlattenDirectories
@DataBoundSetter public void setFlattenDirectories(boolean flattenDirectories) -
setIncludeArchiveZips
@DataBoundSetter public void setIncludeArchiveZips(boolean includeArchiveZips) -
setContainerName
-
setBuildSelector
@DataBoundSetter public void setBuildSelector(hudson.plugins.copyartifact.BuildSelector buildSelector) -
setProjectName
-
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. -
getStorageAccName
-
getDownloadType
-
getContainerName
-
getProjectName
-
getIncludeFilesPattern
-
getExcludeFilesPattern
-
getDownloadDirLoc
-
isIncludeArchiveZips
public boolean isIncludeArchiveZips() -
isFlattenDirectories
public boolean isFlattenDirectories() -
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
- Overrides:
getRequiredMonitorService
in classBuilder
-
getStorageCredentialId
-
getStorageAccountCredential
-
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 interfaceSimpleBuildStep
- Parameters:
run
- environment of buildworkspace
- filepathlauncher
- env var for remote buildslistener
- logging- Throws:
IOException
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
getStorageAccName(Item)