Class MavenInvokerRecorder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- org.jenkinsci.plugins.maveninvoker.MavenInvokerRecorder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
public class MavenInvokerRecorder extends Recorder implements SimpleBuildStep
- Author:
- Olivier Lamy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MavenInvokerRecorder.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_INVOKER_BUILD_DIR
static String
DEFAULT_REPORTS_FILENAME_PATTERN
static MavenInvokerRecorder.DescriptorImpl
DESCRIPTOR
String
filenamePattern
Deprecated.String
invokerBuildDir
String
reportsFilenamePattern
static String
STORAGE_DIRECTORY
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description MavenInvokerRecorder(String reportsFilenamePattern)
Deprecated.MavenInvokerRecorder(String reportsFilenamePattern, String invokerBuildDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildStepMonitor
getRequiredMonitorService()
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener, PipelineDetails pipelineDetails)
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener, org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)
protected Object
readResolve()
-
Methods inherited from class hudson.tasks.Recorder
getDescriptor
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Field Detail
-
DESCRIPTOR
@Extension public static final MavenInvokerRecorder.DescriptorImpl DESCRIPTOR
-
STORAGE_DIRECTORY
public static final String STORAGE_DIRECTORY
- See Also:
- Constant Field Values
-
filenamePattern
@Deprecated public transient String filenamePattern
Deprecated.
-
DEFAULT_REPORTS_FILENAME_PATTERN
public static final String DEFAULT_REPORTS_FILENAME_PATTERN
- See Also:
- Constant Field Values
-
reportsFilenamePattern
public String reportsFilenamePattern
-
DEFAULT_INVOKER_BUILD_DIR
public static final String DEFAULT_INVOKER_BUILD_DIR
- See Also:
- Constant Field Values
-
invokerBuildDir
public String invokerBuildDir
-
-
Constructor Detail
-
MavenInvokerRecorder
@Deprecated public MavenInvokerRecorder(String reportsFilenamePattern)
Deprecated.
-
-
Method Detail
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener, org.jenkinsci.plugins.workflow.graph.FlowNode flowNode) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener, PipelineDetails pipelineDetails) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
readResolve
protected Object readResolve()
-
-