Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44391

Support for visualizing parallel stages

    Details

    • Similar Issues:
    • Sprint:
      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

      Attachments

        Issue Links

          Activity

          Hide
          jamesdumay James Dumay added a comment -
          Show
          jamesdumay James Dumay added a comment - Vivek Pandey Andrew Bayer according to user reports skipped parallel stages get marked as successful in the visualization. Is that declarative or blue ocean?
          Hide
          vivek Vivek Pandey added a comment -

          James Dumay Andrew Bayer

          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, 

          Show
          vivek Vivek Pandey added a comment - James Dumay Andrew Bayer 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, 
          Hide
          abayer 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.

          Show
          abayer 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.
          Hide
          jamesdumay James Dumay added a comment -

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

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

           Andrew Bayer 

          James Dumay Added test and code to handle skipped parallel stages.

          Show
          vivek Vivek Pandey added a comment -   Andrew Bayer   James Dumay  Added test and code to handle skipped parallel stages.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: