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

Empty branch name results in failed pipeline graph visualisation

    XMLWordPrintable

    Details

    • Sprint:
      Blue Ocean 1.0-rc3
    • Similar Issues:

      Description

      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."

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: