Class OSSPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
org.inurl.jenkins.plugin.OSSPublisher
- All Implemented Interfaces:
Describable<Publisher>, BuildStep, SimpleBuildStep
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
Fields inherited from interface BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidperform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) voidsetObjectACL(String objectACL) voidsetThrowExceptionWhenFilePathNotExisted(boolean throwExceptionWhenFilePathNotExisted) Methods inherited from class Publisher
all, getDescriptor, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BuildStep
getProjectAction, getProjectActions, perform, prebuildMethods inherited from interface SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
OSSPublisher
-
-
Method Details
-
getEndpoint
-
getAccessKeyId
-
getAccessKeySecret
-
getBucketName
-
getLocalPath
-
getRemotePath
-
getMaxRetries
-
getObjectACL
-
setObjectACL
-
isThrowExceptionWhenFilePathNotExisted
public boolean isThrowExceptionWhenFilePathNotExisted() -
setThrowExceptionWhenFilePathNotExisted
@DataBoundSetter public void setThrowExceptionWhenFilePathNotExisted(boolean throwExceptionWhenFilePathNotExisted) -
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-