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

Pipeline graph not rendering for a simple Pipeline

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • blueocean-plugin
    • None

      The following Pipeline

      #!groovy
      def ant(stage){
        sh "/usr/bin/ant $stage"
      }
      
      node {
        stage('Checkout') {
          checkout scm
        }
          
        stage('Build') {
          echo 'Something'
        }
      }
      

      Renders without stages

          [JENKINS-39599] Pipeline graph not rendering for a simple Pipeline

          James Dumay created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-35750 [ 171713 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Description Original: The following Pipeline
          {code}
          #!groovy
          def ant(stage){
            sh "/usr/bin/ant $stage"
          }

          node {
            stage('Checkout') {
              checkout scm
            }
              
            stage('Build') {
              echo 'Something'
            }
          }
          {code}

          Renders without stages
           !CwukRlVUkAAxRWZ.jpg|thumbnail!

          New: The following Pipeline
          {code}
          #!groovy
          def ant(stage){
            sh "/usr/bin/ant $stage"
          }

          node {
            stage('Checkout') {
              checkout scm
            }
              
            stage('Build') {
              echo 'Something'
            }
          }
          {code}

          Renders without stages
           !CwukRlVUkAAxRWZ.jpg!

          James Dumay made changes -
          Remote Link New: This issue links to "Twitter (Web Link)" [ 15031 ]
          Nick Le Mouton made changes -
          Attachment New: jenkins.woolshed.com.har.zip [ 34770 ]

          I have attached a HAR file from that page load. I'm seeing a few 500 errors, but looks to be from the favourites api, not sure if it has any effect on the pipeline graph.

          Nick Le Mouton added a comment - I have attached a HAR file from that page load. I'm seeing a few 500 errors, but looks to be from the favourites api, not sure if it has any effect on the pipeline graph.

          James Dumay added a comment -

          noodlesnz re: favorites - you might need to check that all your plugin versions are up to date.

          James Dumay added a comment - noodlesnz re: favorites - you might need to check that all your plugin versions are up to date.

          All up to date, running Jenkins 2.29 as well

          Nick Le Mouton added a comment - All up to date, running Jenkins 2.29 as well

          James Dumay added a comment - - edited

          noodlesnz did you perform a restart after updating?

          James Dumay added a comment - - edited noodlesnz did you perform a restart after updating?

            Unassigned Unassigned
            jamesdumay James Dumay
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: