Class WAStoragePublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
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
ConstructorDescriptionWAStoragePublisher
(String storageCredentialId, String filesPath, String storageType) -
Method Summary
Modifier and TypeMethodDescriptionAzure storage blob properties.Azure storage container name.Files to exclude from archival.Files path.Collection<? extends Action>
getProjectActions
(AbstractProject<?, ?> project) Deprecated.getStorageAccName
(Item owner) Azure Storage Account Name.Deprecated.getStorageAccountCredentials
(Item owner) File Path prefix.boolean
Allowing anonymous access for links generated by jenkins.boolean
Azure storage container cleanup option.boolean
Azure storage virtual path cleanup option.boolean
If true, build will not be changed to UNSTABLE if archiving returns nothing.boolean
If true, artifacts will not be uploaded as individual files.boolean
boolean
boolean
Azure storage container access.boolean
If true, uploads artifacts only if the build passed.boolean
If true, artifacts will also be uploaded as a zip rollup.boolean
void
void
setAllowAnonymousAccess
(boolean allowAnonymousAccess) void
setBlobProperties
(AzureBlobProperties blobProperties) void
setCleanUpContainerOrShare
(boolean cleanUpContainerOrShare) void
setCleanUpVirtualPath
(boolean cleanUpVirtualPath) void
setContainerName
(String containerName) void
setDoNotFailIfArchivingReturnsNothing
(boolean doNotFailIfArchivingReturnsNothing) void
setDoNotUploadIndividualFiles
(boolean doNotUploadIndividualFiles) void
setDoNotWaitForPreviousBuild
(boolean doNotWaitForPreviousBuild) void
setExcludeFilesPath
(String excludeFilesPath) void
setFileShareName
(String fileShareName) void
setMetadata
(List<AzureBlobMetadataPair> metadata) void
setOnlyUploadModifiedArtifacts
(boolean onlyUploadModifiedArtifacts) void
setPubAccessible
(boolean pubAccessible) void
setRemovePrefixPath
(String removePrefixPath) void
setUploadArtifactsOnlyIfSuccessful
(boolean uploadArtifactsOnlyIfSuccessful) void
setUploadZips
(boolean uploadZips) void
setVerbose
(boolean verbose) void
setVirtualPath
(String virtualPath) Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, 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, perform, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
WAStoragePublisher
-
-
Method Details
-
setContainerName
-
setBlobProperties
-
setPubAccessible
@DataBoundSetter public void setPubAccessible(boolean pubAccessible) -
setCleanUpVirtualPath
@DataBoundSetter public void setCleanUpVirtualPath(boolean cleanUpVirtualPath) -
setAllowAnonymousAccess
@DataBoundSetter public void setAllowAnonymousAccess(boolean allowAnonymousAccess) -
setUploadArtifactsOnlyIfSuccessful
@DataBoundSetter public void setUploadArtifactsOnlyIfSuccessful(boolean uploadArtifactsOnlyIfSuccessful) -
setDoNotFailIfArchivingReturnsNothing
@DataBoundSetter public void setDoNotFailIfArchivingReturnsNothing(boolean doNotFailIfArchivingReturnsNothing) -
setUploadZips
@DataBoundSetter public void setUploadZips(boolean uploadZips) -
setDoNotUploadIndividualFiles
@DataBoundSetter public void setDoNotUploadIndividualFiles(boolean doNotUploadIndividualFiles) -
setExcludeFilesPath
-
setVirtualPath
-
getRemovePrefixPath
-
setRemovePrefixPath
-
setDoNotWaitForPreviousBuild
@DataBoundSetter public void setDoNotWaitForPreviousBuild(boolean doNotWaitForPreviousBuild) -
setOnlyUploadModifiedArtifacts
@DataBoundSetter public void setOnlyUploadModifiedArtifacts(boolean onlyUploadModifiedArtifacts) -
setMetadata
-
isVerbose
public boolean isVerbose() -
setVerbose
@DataBoundSetter public void setVerbose(boolean verbose) -
getFilesPath
Files path. Ant glob syntax. -
getExcludeFilesPath
Files to exclude from archival. Ant glob syntax -
getContainerName
Azure storage container name. -
getStorageType
-
getBlobProperties
Azure storage blob properties. -
getMetadata
-
isPubAccessible
public boolean isPubAccessible()Azure storage container access. -
isCleanUpVirtualPath
public boolean isCleanUpVirtualPath()Azure storage virtual path cleanup option. -
isAllowAnonymousAccess
public boolean isAllowAnonymousAccess()Allowing anonymous access for links generated by jenkins. -
isDoNotFailIfArchivingReturnsNothing
public boolean isDoNotFailIfArchivingReturnsNothing()If true, build will not be changed to UNSTABLE if archiving returns nothing. -
isUploadArtifactsOnlyIfSuccessful
public boolean isUploadArtifactsOnlyIfSuccessful()If true, uploads artifacts only if the build passed. -
isUploadZips
public boolean isUploadZips()If true, artifacts will also be uploaded as a zip rollup. -
isDoNotUploadIndividualFiles
public boolean isDoNotUploadIndividualFiles()If true, artifacts will not be uploaded as individual files. -
isDoNotWaitForPreviousBuild
public boolean isDoNotWaitForPreviousBuild() -
isOnlyUploadModifiedArtifacts
public boolean isOnlyUploadModifiedArtifacts() -
getStorageCredentialId
-
getArtifactUploadType
-
getStorageAccName
Deprecated. -
getStorageAccName
Azure Storage Account Name. -
getStorageAccountCredentials
-
getVirtualPath
File Path prefix. -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
getProjectActions
- Specified by:
getProjectActions
in interfaceBuildStep
- Overrides:
getProjectActions
in classBuildStepCompatibilityLayer
-
getStorageAccount
Deprecated.Returns storage account object based on the name selected in job configuration.- Returns:
- StorageAccount
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath ws, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
getStorageAccName(Item)
.