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 ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested 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
ConstructorsConstructorDescriptionWAStoragePublisher(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.booleanAllowing anonymous access for links generated by jenkins.booleanAzure storage container cleanup option.booleanAzure storage virtual path cleanup option.booleanIf true, build will not be changed to UNSTABLE if archiving returns nothing.booleanIf true, artifacts will not be uploaded as individual files.booleanbooleanbooleanAzure storage container access.booleanIf true, uploads artifacts only if the build passed.booleanIf true, artifacts will also be uploaded as a zip rollup.booleanvoidvoidsetAllowAnonymousAccess(boolean allowAnonymousAccess) voidsetBlobProperties(AzureBlobProperties blobProperties) voidsetCleanUpContainerOrShare(boolean cleanUpContainerOrShare) voidsetCleanUpVirtualPath(boolean cleanUpVirtualPath) voidsetContainerName(String containerName) voidsetDoNotFailIfArchivingReturnsNothing(boolean doNotFailIfArchivingReturnsNothing) voidsetDoNotUploadIndividualFiles(boolean doNotUploadIndividualFiles) voidsetDoNotWaitForPreviousBuild(boolean doNotWaitForPreviousBuild) voidsetExcludeFilesPath(String excludeFilesPath) voidsetFileShareName(String fileShareName) voidsetMetadata(List<AzureBlobMetadataPair> metadata) voidsetOnlyUploadModifiedArtifacts(boolean onlyUploadModifiedArtifacts) voidsetPubAccessible(boolean pubAccessible) voidsetRemovePrefixPath(String removePrefixPath) voidsetUploadArtifactsOnlyIfSuccessful(boolean uploadArtifactsOnlyIfSuccessful) voidsetUploadZips(boolean uploadZips) voidsetVerbose(boolean verbose) voidsetVirtualPath(String virtualPath) Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, perform, prebuildMethods 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:
getDescriptorin interfaceDescribable<Publisher>- Overrides:
getDescriptorin classRecorder
-
getProjectActions
- Specified by:
getProjectActionsin interfaceBuildStep- Overrides:
getProjectActionsin 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:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
getStorageAccName(Item).