Hi,
In my plugin , I try to get the data of pipeline job and its stages.
I need to know the duration of the stage in specific run, so I implemented this class:
org.jenkinsci.plugins.workflow.flow.GraphListener
But I can't get the stage's duration from the FlowNode.
When I call to getDuration - I get a strange results, sometimes it is not the same as in the UI (stage view).
My code: