public class TextFinderPublisher extends Recorder implements Serializable, SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
TextFinderPublisher.DescriptorImpl |
Publisher.DescriptorExtensionListImplSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudson| 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 |
BUILDERS, PUBLISHERS| Constructor and Description |
|---|
TextFinderPublisher(String regexp) |
TextFinderPublisher(String fileSet,
String regexp,
boolean succeedIfFound,
boolean unstableIfFound,
boolean alsoCheckConsoleOutput)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BuildStepMonitor |
getRequiredMonitorService() |
void |
perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
setAlsoCheckConsoleOutput(boolean alsoCheckConsoleOutput) |
void |
setFileSet(String fileSet) |
void |
setNotBuiltIfFound(boolean notBuiltIfFound) |
void |
setSucceedIfFound(boolean succeedIfFound) |
void |
setUnstableIfFound(boolean unstableIfFound) |
getDescriptorall, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProjectAction, getProjectActions, 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 BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface BuildSteppublic void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
perform in interface SimpleBuildStepInterruptedExceptionIOExceptionCopyright © 2016–2019. All rights reserved.