com.thalesgroup.hudson.plugins.xunit
Class XUnitPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
com.thalesgroup.hudson.plugins.xunit.XUnitPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep, Serializable, org.jenkinsci.lib.dryrun.DryRun
public class XUnitPublisher
- extends hudson.tasks.Recorder
- implements org.jenkinsci.lib.dryrun.DryRun, Serializable
Class that converting custom reports to Junit reports and records them
- Author:
- Gregory Boissinot
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
Method Summary |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project)
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
XUnitThreshold[] |
getThresholds()
|
com.thalesgroup.dtkit.metrics.hudson.api.type.TestType[] |
getTypes()
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
boolean |
performDryRun(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
Methods inherited from class hudson.tasks.Recorder |
getDescriptor |
Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, needsToRunAfterFinalized, prebuild |
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectActions, perform, prebuild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.tasks.BuildStep |
getProjectActions, prebuild |
GENERATED_JUNIT_DIR
public static final String GENERATED_JUNIT_DIR
- See Also:
- Constant Field Values
XUnitPublisher
public XUnitPublisher(com.thalesgroup.dtkit.metrics.hudson.api.type.TestType[] types,
XUnitThreshold[] thresholds)
getTypes
public com.thalesgroup.dtkit.metrics.hudson.api.type.TestType[] getTypes()
getThresholds
public XUnitThreshold[] getThresholds()
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
- Specified by:
getProjectAction
in interface hudson.tasks.BuildStep
- Overrides:
getProjectAction
in class hudson.tasks.BuildStepCompatibilityLayer
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform
in interface hudson.tasks.BuildStep
- Overrides:
perform
in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
performDryRun
public boolean performDryRun(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
performDryRun
in interface org.jenkinsci.lib.dryrun.DryRun
- Throws:
InterruptedException
IOException
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interface hudson.tasks.BuildStep
Copyright © 2004-2012. All Rights Reserved.