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

build step are not shown on pipeline visualization for Parallel multi Node

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.164.1
      Blue Ocean 1.21.0
    • Similar Issues:

      Description

      I used the "Parallel Multiple Nodes" example from: https://jenkins.io/doc/pipeline/examples/#trigger-job-on-all-nodes.

      Heres my code:

      def labels = ['X', 'Y'] // labels for Jenkins node types we will build on
      def builders = [:]
      for (x in labels) {
      def label = x // Need to bind the label variable before the closure - can't do 'for (label in labels)'

      // Create a map to pass in to the 'parallel' step so we can fire all the builds at once
      builders[label] = {
      node(label) {
      stage("SCM")

      { echo env.STAGE_NAME }

      stage("Setup")

      { echo env.STAGE_NAME }
      stage("Build"){ echo env.STAGE_NAME }

      stage("Host unitTest")

      { echo env.STAGE_NAME }
      stage("DUT unitTest"){ echo env.STAGE_NAME }

      stage("QA tests")

      { echo env.STAGE_NAME }
      stage("Teardown"){ echo env.STAGE_NAME }

      }
      }
      }
      parallel builders

       

      i expected that BlueOcean will show the progress of each node (in parallel) but instead the progress is under the node name and can be viewed only when clicking the node name . ( see attached screenshot).

      I expected the following structure:

       

      start--XSCMSetupBuild–-Host unitTest–-DUT unitTest–QA tests–Teardown-–End

                    |                                                                                                                                |

                   Y-SCMSetupBuild–-Host unitTest–-DUT unitTest–QA tests–Teardown-

       

       

       

       

       

       

       

       

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              aviss7 avi shaaya
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: