org.jenkinsci.plugins.cucumber.jsontestsupport
Class CucumberTestResultArchiver
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.matrix.MatrixAggregatable, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class CucumberTestResultArchiver
- extends hudson.tasks.Recorder
- implements hudson.matrix.MatrixAggregatable
Generates HTML report from Cucumber JSON files.
- Author:
- James Nord, Kohsuke Kawaguchi (original JUnit code)
| 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 |
| Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CucumberTestResultArchiver
@DataBoundConstructor
public CucumberTestResultArchiver(String testResults)
CucumberTestResultArchiver
public CucumberTestResultArchiver(String testResults,
boolean ignoreBadSteps)
setIgnoreBadSteps
@DataBoundSetter
public void setIgnoreBadSteps(boolean ignoreBadSteps)
getIgnoreBadSteps
public boolean getIgnoreBadSteps()
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
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- This class does explicit checkpointing.
- Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep
getTestResults
public String getTestResults()
getProjectActions
public Collection<hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
- Specified by:
getProjectActions in interface hudson.tasks.BuildStep- Overrides:
getProjectActions in class hudson.tasks.BuildStepCompatibilityLayer
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Specified by:
createAggregator in interface hudson.matrix.MatrixAggregatable
getDescriptor
public CucumberTestResultArchiver.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>- Overrides:
getDescriptor in class hudson.tasks.Recorder
Copyright © 2013-2014. All Rights Reserved.