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.Step
List files in/under current working directory.
- Author:
- Robert Sandell <rsandell@cloudbees.com>.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionPattern of files to excludes in the list.getGlob()Pattern of files to include in the list.voidsetExcludes(String excludes) voidPattern of files to include in the list.org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepgetDescriptor
- 
Constructor Details- 
FindFilesStep@DataBoundConstructor public FindFilesStep()
 
- 
- 
Method Details- 
startpublic org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
- startin class- org.jenkinsci.plugins.workflow.steps.Step
- Throws:
- Exception
 
- 
getGlobPattern 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
 
- 
setGlobPattern 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
 
- 
getExcludesPattern of files to excludes in the list. This is useful for large directory structure (i.e npm-modules)- Returns:
- the excludes pattern
 
- 
setExcludes
 
-