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 ]
          Nick Le Mouton made changes -
          Attachment New: Screen Shot 2016-11-09 at 12.59.39 PM.png [ 34771 ]
          Attachment New: Screen Shot 2016-11-09 at 12.59.28 PM.png [ 34772 ]
          James Dumay made changes -
          Link New: This issue is blocked by JENKINS-39555 [ JENKINS-39555 ]
          James Dumay made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jenn Briden made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: