Class JunitTestsPublisher
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<MavenPublisher>
-
- org.jenkinsci.plugins.pipeline.maven.MavenPublisher
-
- org.jenkinsci.plugins.pipeline.maven.publishers.JunitTestsPublisher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<MavenPublisher>
,Serializable
,Comparable<MavenPublisher>
public class JunitTestsPublisher extends MavenPublisher
- Author:
- Cyrille Le Clerc
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JunitTestsPublisher.DescriptorImpl
Don't use the symbol "junit", it would collide with hudson.tasks.junit.JUnitResultArchiver-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description JunitTestsPublisher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getHealthScaleFactor()
boolean
getIgnoreAttachments()
boolean
isKeepLongStdio()
void
process(org.jenkinsci.plugins.workflow.steps.StepContext context, Element mavenSpyLogsElt)
void
setHealthScaleFactor(Double healthScaleFactor)
void
setIgnoreAttachments(boolean ignoreAttachments)
void
setKeepLongStdio(boolean keepLongStdio)
String
toString()
-
Methods inherited from class org.jenkinsci.plugins.pipeline.maven.MavenPublisher
compareTo, getDescriptor, isDisabled, setDisabled
-
-
-
-
Method Detail
-
process
public void process(@NonNull org.jenkinsci.plugins.workflow.steps.StepContext context, @NonNull Element mavenSpyLogsElt) throws IOException, InterruptedException
- Specified by:
process
in classMavenPublisher
mavenSpyLogsElt
- maven spy report. WARNING experimental structure for the moment, subject to change.- Throws:
IOException
InterruptedException
-
getIgnoreAttachments
public boolean getIgnoreAttachments()
-
setIgnoreAttachments
@DataBoundSetter public void setIgnoreAttachments(boolean ignoreAttachments)
-
isKeepLongStdio
public boolean isKeepLongStdio()
-
setKeepLongStdio
@DataBoundSetter public void setKeepLongStdio(boolean keepLongStdio)
-
getHealthScaleFactor
@CheckForNull public Double getHealthScaleFactor()
-
setHealthScaleFactor
@DataBoundSetter public void setHealthScaleFactor(@Nullable Double healthScaleFactor)
-
toString
public String toString()
- Overrides:
toString
in classMavenPublisher
-
-