Klasse RepositoryMinerStep
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
io.jenkins.plugins.forensics.miner.RepositoryMinerStep
- Alle implementierten Schnittstellen:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
A pipeline
Step
or Freestyle or Maven Recorder
that obtains statistics for all repository files. The
following statistics are computed:
- total number of commits
- total number of different authors
- creation time
- last modification time
- lines of code (from the commit details)
- code churn (changed lines since created)
RepositoryStatistics
instance. The result is attached to
a Run
by registering a ForensicsBuildAction
.- Autor:
- Ullrich Hafner
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
Descriptor for this step: defines the context and the UI elements.Von Klasse geerbte verschachtelte Klassen/Schnittstellen hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen hudson.tasks.BuildStep
BuildStep.PublisherList
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Feldübersicht
Von Schnittstelle geerbte Felder hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Konstruktorübersicht
-
Methodenübersicht
Von Klasse geerbte Methoden hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Von Klasse geerbte Methoden hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuild
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
Von Schnittstelle geerbte Methoden jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Konstruktordetails
-
RepositoryMinerStep
@DataBoundConstructor public RepositoryMinerStep()Creates a new instance ofRepositoryMinerStep
.
-
-
Methodendetails
-
readResolve
Called after de-serialization to retain backward compatibility or to populate new elements (that would be otherwise initialized tonull
).- Gibt zurück:
- this
-
setScm
Sets the SCM that should be used to find the reference build for. The reference recorder will select the SCM based on a substring comparison, there is no need to specify the full name.- Parameter:
scm
- the ID of the SCM to use (a substring of the full ID)
-
getScm
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException- Angegeben von:
perform
in SchnittstelleSimpleBuildStep
- Löst aus:
InterruptedException
-
getDescriptor
- Angegeben von:
getDescriptor
in SchnittstelleDescribable<Publisher>
- Setzt außer Kraft:
getDescriptor
in KlasseRecorder
-