Class GitHubBuildStatusNotification.JobCheckOutListener
java.lang.Object
hudson.model.listeners.SCMListener
org.jenkinsci.plugins.github_branch_source.GitHubBuildStatusNotification.JobCheckOutListener
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- GitHubBuildStatusNotification
@Extension
public static class GitHubBuildStatusNotification.JobCheckOutListener
extends SCMListener
With this listener one notifies to GitHub when the SCM checkout process has started.
Possible option: GHCommitState.PENDING
-
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
-
JobCheckOutListener
public JobCheckOutListener()
-
-
Method Details
-
onCheckout
public void onCheckout(Run<?, ?> build, SCM scm, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState pollingBaseline) throws Exception- Overrides:
onCheckout
in classSCMListener
- Throws:
Exception
-