public class RunPublisher
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
Recorder
executed after each build. It copies the JMH result file
into the corresponding build dir and registers the ProjectJmhView
which renders the build run report and itself registers the
ProjectJmhView
through LastBuildAction
.Modifier and Type | Class and Description |
---|---|
static class |
RunPublisher.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
RunPublisher(String resultPath) |
Modifier and Type | Method and Description |
---|---|
RunPublisher.DescriptorImpl |
getDescriptor() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getResultPath() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public RunPublisher(String resultPath)
public String getResultPath()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public void perform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public RunPublisher.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Recorder
Copyright © 2016–2018. All rights reserved.