Package hudson.plugins.s3
Class S3CopyArtifact
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.s3.S3CopyArtifact
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
This is a S3 variant of the CopyArtifact plugin:
Build step to copy artifacts from another project.
- Author:
- Alan Harder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classNested 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
ConstructorsConstructorDescriptionS3CopyArtifact(String projectName, hudson.plugins.copyartifact.BuildSelector buildSelector, String filter, String excludeFilter, String target, boolean flatten, boolean optional) -
Method Summary
Modifier and TypeMethodDescriptionhudson.plugins.copyartifact.BuildSelectorbooleanbooleanvoidperform(Run<?, ?> dst, FilePath targetDir, Launcher launcher, TaskListener listener) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, 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, getProjectActions, getRequiredMonitorService, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
S3CopyArtifact
-
-
Method Details
-
getProjectName
-
getBuildSelector
public hudson.plugins.copyartifact.BuildSelector getBuildSelector() -
getFilter
-
getExcludeFilter
-
getTarget
-
isFlatten
public boolean isFlatten() -
isOptional
public boolean isOptional() -
perform
public void perform(@NonNull Run<?, ?> dst, @NonNull FilePath targetDir, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-