Class PipelineEventListener

java.lang.Object
io.jenkins.blueocean.events.PipelineEventListener
All Implemented Interfaces:
ExtensionPoint, org.jenkinsci.plugins.workflow.flow.GraphListener

@Extension public class PipelineEventListener extends Object implements org.jenkinsci.plugins.workflow.flow.GraphListener
Listen for run events, filter and publish stage/branch events to notify the UX that there are changes when viewing the pipeline results screen. This may be useful (or may not be needed) for live-ness of the pipeline results screen.
  • Constructor Details

    • PipelineEventListener

      public PipelineEventListener()
  • Method Details

    • onNewHead

      public void onNewHead(org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)
      Specified by:
      onNewHead in interface org.jenkinsci.plugins.workflow.flow.GraphListener