Class FailedTestsContent

java.lang.Object
org.jenkinsci.plugins.tokenmacro.TokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
hudson.plugins.emailext.plugins.content.FailedTestsContent
All Implemented Interfaces:
ExtensionPoint

@Extension public class FailedTestsContent extends org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
An EmailContent for failing tests. Only shows tests that have failed.
Author:
markltbaker
  • Field Details

    • showStack

      public boolean showStack
    • showMessage

      public boolean showMessage
    • maxTests

      public int maxTests
    • onlyRegressions

      public boolean onlyRegressions
    • maxLength

      public int maxLength
    • outputFormat

      public String outputFormat
    • testNamePattern

      public String testNamePattern
    • MACRO_NAME

      public static final String MACRO_NAME
      See Also:
  • Constructor Details

    • FailedTestsContent

      public FailedTestsContent()
  • Method Details

    • acceptsMacroName

      public boolean acceptsMacroName(String macroName)
      Specified by:
      acceptsMacroName in class org.jenkinsci.plugins.tokenmacro.TokenMacro
    • evaluate

      public String evaluate(AbstractBuild<?,?> build, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
      Specified by:
      evaluate in class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
      Throws:
      org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
    • evaluate

      public String evaluate(Run<?,?> run, FilePath workspace, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
      Overrides:
      evaluate in class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
      Throws:
      org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
    • getLineBreak

      public String getLineBreak()
    • handlesHtmlEscapeInternally

      public boolean handlesHtmlEscapeInternally()
      Overrides:
      handlesHtmlEscapeInternally in class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro