[JIRA] (JENKINS-58816) GraphListener method when a FlowNode has finished

2 views
Skip to first unread message

m.winter@sap.com (JIRA)

unread,
Aug 5, 2019, 11:01:01 AM8/5/19
to jenkinsc...@googlegroups.com
Markus Winter created an issue
 
Jenkins / Improvement JENKINS-58816
GraphListener method when a FlowNode has finished
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: pipeline
Created: 2019-08-05 15:00
Priority: Minor Minor
Reporter: Markus Winter

It would be nice if we can be notified when a node in the flowgraph has finished by adding a method `GraphListener.onNodeFinished(FlowNode node)`

For AtomNode, we only get notified in the GraphListener before the node starts execution but never when it ends.

For steps that have a block, we have the dedicated BlockEndNode but at the time it is called, the status of the node is not yet set.

While we can use the getParents() of a FlowNode and process the parent nodes, it means we are not able to react in a timely manner to the end of a node. E.g. parallel branches would only be processed once the complete parallel step is finished and the FlowEndNode can never be processed this way.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages