public class JgivenReportGenerator
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
JgivenReportGenerator.AsciiDocReportConfig |
static class |
JgivenReportGenerator.DescriptorImpl |
static class |
JgivenReportGenerator.HtmlReportConfig |
static class |
JgivenReportGenerator.ReportConfig |
static class |
JgivenReportGenerator.TextReportConfig |
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
static String |
REPORTS_DIR |
Constructor and Description |
---|
JgivenReportGenerator(groovy.lang.Closure<?> configClosure) |
JgivenReportGenerator(List<JgivenReportGenerator.ReportConfig> reportConfigs) |
Modifier and Type | Method and Description |
---|---|
static void |
addAliases() |
String |
getJgivenResults() |
List<JgivenReportGenerator.ReportConfig> |
getReportConfigs() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
isExcludeEmptyScenarios() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setExcludeEmptyScenarios(boolean excludeEmptyScenarios) |
void |
setJgivenResults(String jgivenResults) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
public static final String REPORTS_DIR
@DataBoundConstructor public JgivenReportGenerator(List<JgivenReportGenerator.ReportConfig> reportConfigs)
public JgivenReportGenerator(groovy.lang.Closure<?> configClosure)
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public List<JgivenReportGenerator.ReportConfig> getReportConfigs()
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public String getJgivenResults()
@DataBoundSetter public void setJgivenResults(String jgivenResults)
@DataBoundSetter public void setExcludeEmptyScenarios(boolean excludeEmptyScenarios)
public boolean isExcludeEmptyScenarios()
@Initializer(before=PLUGINS_STARTED) public static void addAliases()
Copyright © 2016–2017. All rights reserved.