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

Empty branch name results in failed pipeline graph visualisation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Blue Ocean 1.0-rc3

      If you have a pipeline with an empty branch name, it will fail to visualise. This could be a data problem or front end codes expectation. 

       

      In any case to reproduce, create a pipeline with: 

      node {
      
      stage('first') {
      sh 'echo hey'
      }
      stage('middle') {
      parallel(
      "top" : { sh 'echo there' },
      "" : { echo 'empty one' }
      )
      }
      
      }

      And then look at the visualisation. You wil see it fails to render with an error message:

       

      "Error rendering PipelineRunGraph: Error: convertJenkinsNodeDetails: malformed / missing Jenkins run node."

            kzantow Keith Zantow
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: