Class FindFilesStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.pipeline.utility.steps.fs.FindFilesStep
-
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class FindFilesStep extends org.jenkinsci.plugins.workflow.steps.StepList files in/under current working directory.- Author:
- Robert Sandell <rsandell@cloudbees.com>.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFindFilesStep.DescriptorImpl-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description FindFilesStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExcludes()Pattern of files to excludes in the list.StringgetGlob()Pattern of files to include in the list.voidsetExcludes(String excludes)voidsetGlob(String glob)Pattern of files to include in the list.org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Method Detail
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception- Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-
getGlob
public String getGlob()
Pattern of files to include in the list. When omitting this only direct descendants of cwd will be listed otherwise all descendants can potentially be listed.- Returns:
- the search pattern
-
setGlob
@DataBoundSetter public void setGlob(String glob)
Pattern of files to include in the list. When omitting this only direct descendants of cwd will be listed otherwise all descendants can potentially be listed.- Parameters:
glob- the search pattern
-
getExcludes
public String getExcludes()
Pattern of files to excludes in the list. This is useful for large directory structure (i.e npm-modules)- Returns:
- the excludes pattern
-
setExcludes
@DataBoundSetter public void setExcludes(String excludes)
-
-