Class RepositoryMinerStep

All Implemented Interfaces:
ExtensionPoint, Describable<Publisher>, BuildStep, SimpleBuildStep

public class RepositoryMinerStep extends Recorder implements 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)
Stores the created statistics in a RepositoryStatistics instance. The result is attached to a Run by registering a ForensicsBuildAction.
Author:
Ullrich Hafner
  • Constructor Details

    • RepositoryMinerStep

      @DataBoundConstructor public RepositoryMinerStep()
      Creates a new instance of RepositoryMinerStep.
  • Method Details