public class RepositoryMinerStep
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
Step or Freestyle or Maven Recorder that obtains statistics for all repository files. The
following statistics are computed:
RepositoryStatistics instance. The result is attached to
a Run by registering a ForensicsBuildAction.| Modifier and Type | Class and Description |
|---|---|
static class |
RepositoryMinerStep.Descriptor
Descriptor for this step: defines the context and the UI elements.
|
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
RepositoryMinerStep()
Creates a new instance of
RepositoryMinerStep. |
| Modifier and Type | Method and Description |
|---|---|
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 RepositoryMinerStep()
RepositoryMinerStep.public void perform(@NonNull
hudson.model.Run<?,?> run,
@NonNull
hudson.FilePath workspace,
@NonNull
hudson.Launcher launcher,
@NonNull
hudson.model.TaskListener listener)
throws InterruptedException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionCopyright © 2016–2020. All rights reserved.