Class NCScanSCMListener<Entry>

java.lang.Object
hudson.model.listeners.SCMListener
com.netsparker.cloud.plugin.NCScanSCMListener<Entry>
All Implemented Interfaces:
ExtensionPoint

@Extension public class NCScanSCMListener<Entry> extends SCMListener
This class registers an SCMListener with Jenkins which allows us to create the "Checkout successful" event.
  • Constructor Details

    • NCScanSCMListener

      public NCScanSCMListener()
  • Method Details

    • onChangeLogParsed

      public void onChangeLogParsed(Run<?,?> build, SCM scm, TaskListener listener, ChangeLogSet<?> changelog) throws Exception
      Invoked right after the source code for the build has been checked out. It will NOT be called if a checkout fails.
      Overrides:
      onChangeLogParsed in class SCMListener
      Parameters:
      build - - Current build
      scm - - Configured SCM
      listener - - Current build listener
      changelog - - Changelog
      Throws:
      Exception - if an error is encountered