Package com.acunetix.plugin
Class ACXScanSCMListener<Entry>
java.lang.Object
hudson.model.listeners.SCMListener
com.acunetix.plugin.ACXScanSCMListener<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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonChangeLogParsed(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
-
ACXScanSCMListener
public ACXScanSCMListener()
-
-
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:
onChangeLogParsedin classSCMListener- Parameters:
build- - Current buildscm- - Configured SCMlistener- - Current build listenerchangelog- - Changelog- Throws:
Exception- if an error is encountered
-