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.DescriptorExtensionListImpljenkins.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, prebuildgetProjectAction, getProjectActions, perform, perform, prebuild@DataBoundConstructor public RunPublisher(String resultPath)
public String getResultPath()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic void perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws InterruptedException,
IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic RunPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.RecorderCopyright © 2016–2018. All rights reserved.