blueocean breaks when too many branches are used in parallel

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      #!/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
      

            Assignee:
            Unassigned
            Reporter:
            Cenk Gündoğan
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: