Class GitCheckoutListener
java.lang.Object
hudson.model.listeners.SCMListener
io.jenkins.plugins.forensics.git.reference.GitCheckoutListener
- All Implemented Interfaces:
ExtensionPoint
Tracks all the commits since the last build and writes them into a
GitCommitsRecord
action to be accessed
later. This listener is called on every checkout of a Git Repository in a Jenkins build.- Author:
- Arne Schöntag
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onCheckout
(Run<?, ?> build, SCM scm, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState pollingBaseline) Methods inherited from class hudson.model.listeners.SCMListener
all, onChangeLogParsed, onChangeLogParsed, register, unregister
-
Constructor Details
-
GitCheckoutListener
public GitCheckoutListener()
-
-
Method Details
-
onCheckout
public void onCheckout(Run<?, ?> build, SCM scm, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState pollingBaseline) - Overrides:
onCheckout
in classSCMListener
-