public class LighthouseReportStep extends Builder implements SimpleBuildStep, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
LighthouseReportStep.DescriptorImpl |
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
BUILDERS, PUBLISHERS
Constructor and Description |
---|
LighthouseReportStep(String file) |
Modifier and Type | Method and Description |
---|---|
String |
getFile() |
String |
getName()
Returns report name, can be null if not configured
|
void |
perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
setName(String name)
Sets the name of the report, if not set default name as lighthousereport is used
|
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, requiresWorkspace
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
@DataBoundConstructor public LighthouseReportStep(String file)
@DataBoundSetter public void setName(String name)
name
- name of the reportpublic String getFile()
public String getName()
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
perform
in interface SimpleBuildStep
InterruptedException
IOException
Copyright © 2016–2021. All rights reserved.