Package de.taimos.pipeline.aws
Class S3FindFilesStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
de.taimos.pipeline.aws.AbstractS3Step
de.taimos.pipeline.aws.S3FindFilesStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
The S3FindFilesStep returns a list of files from S3 that match a pattern.
This is intended to be analogous to the "findFiles" step provided by the
"pipeline-utility-steps-plugin".
This thus accepts a bucket, a path, and a glob pattern.
The path, if specified, sets the root of the search. If left unspecified, then this defaults to the root of the bucket.
The glob, if specified, sets the glob that should be matched. If left unspecified, then this defaults to "*", which will match everything within `path`, but only one level deep. To match absolutely everything, use "**".
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class de.taimos.pipeline.aws.AbstractS3Step
AbstractS3Step.S3ClientOptions
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class de.taimos.pipeline.aws.AbstractS3Step
pathStyleAccessEnabled, payloadSigningEnabled
-
Constructor Summary
ConstructorDescriptionS3FindFilesStep
(String bucket, boolean pathStyleAccessEnabled, boolean payloadSigningEnabled) -
Method Summary
Modifier and TypeMethodDescriptiongetGlob()
getPath()
boolean
void
void
setOnlyFiles
(boolean onlyFiles) void
org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class de.taimos.pipeline.aws.AbstractS3Step
createS3ClientOptions, isPathStyleAccessEnabled, isPayloadSigningEnabled, setPathStyleAccessEnabled, setPayloadSigningEnabled
Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
S3FindFilesStep
@DataBoundConstructor public S3FindFilesStep(String bucket, boolean pathStyleAccessEnabled, boolean payloadSigningEnabled)
-
-
Method Details
-
getBucket
-
setPath
-
getPath
-
setGlob
-
getGlob
-
setOnlyFiles
@DataBoundSetter public void setOnlyFiles(boolean onlyFiles) -
isOnlyFiles
public boolean isOnlyFiles() -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-