Package com.netsparker.cloud.plugin
Class NCScanSCMListener<Entry>
java.lang.Object
hudson.model.listeners.SCMListener
com.netsparker.cloud.plugin.NCScanSCMListener<Entry>
- All Implemented Interfaces:
ExtensionPoint
This class registers an
SCMListener
with Jenkins which allows us to create the "Checkout
successful" event.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onChangeLogParsed
(Run<?, ?> build, SCM scm, TaskListener listener, ChangeLogSet<?> changelog) Invoked right after the source code for the build has been checked out.Methods inherited from class hudson.model.listeners.SCMListener
all, onChangeLogParsed, onCheckout, register, unregister
-
Constructor Details
-
NCScanSCMListener
public NCScanSCMListener()
-
-
Method Details
-
onChangeLogParsed
public void onChangeLogParsed(Run<?, ?> build, SCM scm, TaskListener listener, ChangeLogSet<?> changelog) throws ExceptionInvoked right after the source code for the build has been checked out. It will NOT be called if a checkout fails.- Overrides:
onChangeLogParsed
in classSCMListener
- Parameters:
build
- - Current buildscm
- - Configured SCMlistener
- - Current build listenerchangelog
- - Changelog- Throws:
Exception
- if an error is encountered
-