Class TextFinderPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
hudson.plugins.textfinder.TextFinderPublisher
- All Implemented Interfaces:
ExtensionPoint, Describable<Publisher>, BuildStep, Serializable, SimpleBuildStep
Text Finder plugin for Jenkins. Search in the workspace using a regular expression and determine
build outcome based on matches.
- Author:
- Santiago.PericasGeertsen@sun.com
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanDeprecated.Deprecated.Deprecated.booleanDeprecated.Deprecated.booleanDeprecated.booleanDeprecated.Fields inherited from interface BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionTextFinderPublisher(String regexp) Deprecated.TextFinderPublisher(String fileSet, String regexp, boolean succeedIfFound, boolean unstableIfFound, boolean alsoCheckConsoleOutput) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidperform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) protected ObjectCalled by XStream after object constructionvoidsetAlsoCheckConsoleOutput(boolean alsoCheckConsoleOutput) Deprecated.voidsetBuildResult(String buildResult) Deprecated.voidsetFileSet(String fileSet) Deprecated.voidsetNotBuiltIfFound(boolean notBuiltIfFound) Deprecated.voidDeprecated.voidsetSucceedIfFound(boolean succeedIfFound) Deprecated.voidsetTextFinders(List<TextFinder> textFinders) voidsetUnstableIfFound(boolean unstableIfFound) Deprecated.Methods inherited from class Recorder
getDescriptorMethods inherited from class Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BuildStep
getProjectAction, getProjectActions, perform, prebuildMethods inherited from interface SimpleBuildStep
perform, perform, requiresWorkspace
-
Field Details
-
fileSet
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public transient String fileSetDeprecated. -
regexp
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public transient String regexpDeprecated. -
succeedIfFound
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public transient boolean succeedIfFoundDeprecated. -
unstableIfFound
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public transient boolean unstableIfFoundDeprecated. -
notBuiltIfFound
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public transient boolean notBuiltIfFoundDeprecated. -
alsoCheckConsoleOutput
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public transient boolean alsoCheckConsoleOutputDeprecated.True to also scan the whole console output -
buildResult
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public transient String buildResultDeprecated.Used only by Stapler in the snippetizer.
-
-
Constructor Details
-
TextFinderPublisher
@DataBoundConstructor public TextFinderPublisher() -
TextFinderPublisher
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public TextFinderPublisher(String regexp) Deprecated. -
TextFinderPublisher
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public TextFinderPublisher(String fileSet, String regexp, boolean succeedIfFound, boolean unstableIfFound, boolean alsoCheckConsoleOutput) Deprecated.
-
-
Method Details
-
getTextFinders
-
setTextFinders
-
setRegexp
@DataBoundSetter @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setRegexp(String regexp) Deprecated. -
setFileSet
@DataBoundSetter @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setFileSet(String fileSet) Deprecated. -
setBuildResult
@DataBoundSetter @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setBuildResult(String buildResult) Deprecated. -
setSucceedIfFound
@DataBoundSetter @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setSucceedIfFound(boolean succeedIfFound) Deprecated. -
setUnstableIfFound
@DataBoundSetter @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setUnstableIfFound(boolean unstableIfFound) Deprecated. -
setNotBuiltIfFound
@DataBoundSetter @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setNotBuiltIfFound(boolean notBuiltIfFound) Deprecated. -
setAlsoCheckConsoleOutput
@DataBoundSetter @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setAlsoCheckConsoleOutput(boolean alsoCheckConsoleOutput) Deprecated. -
readResolve
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-