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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.Parameter
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
escapeHtml
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsMacroName
(String macroName) evaluate
(AbstractBuild<?, ?> build, TaskListener listener, String macroName) evaluate
(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName) boolean
Methods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
evaluate, evaluate, hasNestedContent
Methods inherited from class org.jenkinsci.plugins.tokenmacro.TokenMacro
all, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAcceptedMacroNames, getAutoCompleteList, getPreviousRun, getWorkspace
-
Field Details
-
showStack
public boolean showStack -
showMessage
public boolean showMessage -
maxTests
public int maxTests -
onlyRegressions
public boolean onlyRegressions -
maxLength
public int maxLength -
outputFormat
-
testNamePattern
-
MACRO_NAME
- See Also:
-
-
Constructor Details
-
FailedTestsContent
public FailedTestsContent()
-
-
Method Details
-
acceptsMacroName
- Specified by:
acceptsMacroName
in classorg.jenkinsci.plugins.tokenmacro.TokenMacro
-
evaluate
public String evaluate(AbstractBuild<?, ?> build, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException- Specified by:
evaluate
in classorg.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 classorg.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
-
getLineBreak
-
handlesHtmlEscapeInternally
public boolean handlesHtmlEscapeInternally()- Overrides:
handlesHtmlEscapeInternally
in classorg.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
-