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

blueocean breaks when too many branches are used in parallel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • Setup includes multiple (>10) workers.
      Tested with
      * Firefox 50.1.0
      * BlueOcean beta 1.0.0-b13

      #!/usr/bin/env groovy
      
      stage("Setup") {
      }
      
      stage("Tests") {
          def tests = [:]
          for (int i=0; i < 80; i++) {
              def counter = i 
              tests[i] = {
                  node {
                      echo "This is ${i}"
                  }   
              }
          }
      
          parallel (tests)
      }
      
      stage("End") {
      }
      

      The above code is correctly displayed in blueocean in the form of:

      Setup -- Tests -- End
                 -- 1
                 -- ...
                 -- 80
      

      However, if I increase the max count of the loop iterations from 80 to 100, then blueocean is not able to show the graph. Instead, I get the message:

      Error rendering PipelineRunGraph: TypeError: child is undefined
      

            Unassigned Unassigned
            cgundogan Cenk Gündoğan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: