public class TextFinderPublisher extends hudson.tasks.Recorder implements Serializable, jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
TextFinderPublisher.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Modifier and Type | Field and Description |
|---|---|
boolean |
alsoCheckConsoleOutput
True to also scan the whole console output
|
String |
fileSet |
boolean |
notBuiltIfFound |
String |
regexp |
boolean |
succeedIfFound |
boolean |
unstableIfFound |
| Constructor and Description |
|---|
TextFinderPublisher(String regexp) |
TextFinderPublisher(String fileSet,
String regexp,
boolean succeedIfFound,
boolean unstableIfFound,
boolean alsoCheckConsoleOutput)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setAlsoCheckConsoleOutput(boolean alsoCheckConsoleOutput) |
void |
setFileSet(String fileSet) |
void |
setNotBuiltIfFound(boolean notBuiltIfFound) |
void |
setSucceedIfFound(boolean succeedIfFound) |
void |
setUnstableIfFound(boolean unstableIfFound) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuildpublic String fileSet
public final String regexp
public boolean succeedIfFound
public boolean unstableIfFound
public boolean notBuiltIfFound
public boolean alsoCheckConsoleOutput
@DataBoundConstructor public TextFinderPublisher(String regexp)
@Deprecated public TextFinderPublisher(String fileSet, String regexp, boolean succeedIfFound, boolean unstableIfFound, boolean alsoCheckConsoleOutput)
@DataBoundSetter public void setFileSet(String fileSet)
@DataBoundSetter public void setSucceedIfFound(boolean succeedIfFound)
@DataBoundSetter public void setUnstableIfFound(boolean unstableIfFound)
@DataBoundSetter public void setNotBuiltIfFound(boolean notBuiltIfFound)
@DataBoundSetter public void setAlsoCheckConsoleOutput(boolean alsoCheckConsoleOutput)
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic void perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws InterruptedException,
IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionCopyright © 2016–2019. All rights reserved.