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

Lost full pipeline state on first run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • Blue Ocean - Candidates

      Problem
      Declarative Pipeline should be fully displaying on first run because the model can be read ahead of time.

      This appears to be broken. See this video.

      Example Jenkinsfile

      pipeline {
        agent any
        stages {
          stage('Build') {
            steps {
              echo 's'
            }
          }
          stage('Test') {
            steps {
              parallel(
                "JUnit": {
                  echo 'sdad'
                  
                },
                "DBUnit": {
                  echo 'dis'
                  
                },
                "Jasimine": {
                  echo 'dis'
                  
                }
              )
            }
          }
          stage('Browser Tests') {
            steps {
              parallel(
                "Firefox": {
                  echo 'sdad'
                },
                "Edge": {
                  sh 'ping -c 5 google.com'
                },
                "Safari": {
                  sh 'ping -c 5 google.com'
                },
                "Chrome": {
                  sh 'ping -c 5 google.com'
                }
              )
            }
          }
          stage('Deploy to Staging') {
            when { branch 'staging' }
            steps {
              echo 's'
            }
          }
          stage ('Security check') {
            steps {
              echo 's'
            }
          }
          stage('Deploy to Production') {
            when { branch 'staging' }
            steps {
              echo 's'
            }
          }
        }
      }
      

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

              Created:
              Updated: