-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: pipeline-stage-view-plugin
-
Labels:None
-
Similar Issues:
The algorithms in pipeline stage view cover the normal use case well, but have issues with excessively large FlowGraphs. This is most commonly caused when someone runs a loop (with steps and/or blocks embedded in it) that executes many times.
To reproduce, create and run a build with the following pipeline code and then view in stageview:
for(int i=0; i<9999; i++) { echo "Cycle ${i}" }
The result is combination of high master CPU load, very long or incomplete UI requests, very large response datasets (MB), and/or high memory use.
WIP PR in progress here: https://github.com/jenkinsci/pipeline-stage-view-plugin/pull/4