• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Blue Ocean 1.1, Blue Ocean 1.1, Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3

          [JENKINS-44391] Support for visualizing parallel stages

          James Dumay added a comment -

          vivek abayer according to user reports skipped parallel stages get marked as successful in the visualization. Is that declarative or blue ocean?

          James Dumay added a comment - vivek abayer according to user reports skipped parallel stages get marked as successful in the visualization. Is that declarative or blue ocean?

          Vivek Pandey added a comment -

          jamesdumay abayer

          BlueOcean has support for skipped stages not skipped parallel branches, that is skipped parallel stages are basically skipped parallel branches. 

          Blueocean supports skipped stages by inspecting STAGE_STATUS TagsAction and uses StageStatus.getSkippedForConditional() to determine if this stage is skipped. To support skipped parallel stages, declarative has to provide similar mechanism so that in blueocean we can compute if a parallel branch is skipped.

           

          Parallel stages, appear as parallel FlowNode branches, 

          Vivek Pandey added a comment - jamesdumay abayer BlueOcean has support for skipped stages not skipped parallel branches, that is skipped parallel stages are basically skipped parallel branches.  Blueocean supports skipped stages by inspecting STAGE_STATUS TagsAction and uses StageStatus.getSkippedForConditional() to determine if this stage is skipped. To support skipped parallel stages, declarative has to provide similar mechanism so that in blueocean we can compute if a parallel branch is skipped.   Parallel stages, appear as parallel FlowNode branches, 

          Andrew Bayer added a comment -

          We set the same tags on parallel "stages" (actually branches) as on normal stages, so you should be able to pick them up.

          Andrew Bayer added a comment - We set the same tags on parallel "stages" (actually branches) as on normal stages, so you should be able to pick them up.

          James Dumay added a comment -

          Ahh that's great. vivek we should add a test case for our interpretation.

          James Dumay added a comment - Ahh that's great. vivek we should add a test case for our interpretation.

          Vivek Pandey added a comment -

           abayer 

          jamesdumay Added test and code to handle skipped parallel stages.

          Vivek Pandey added a comment -   abayer   jamesdumay  Added test and code to handle skipped parallel stages.

            abayer Andrew Bayer
            jamesdumay James Dumay
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: