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

Lost full pipeline state on first run

    XMLWordPrintable

Details

    • Blue Ocean - Candidates

    Description

      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'
            }
          }
        }
      }
      

      Attachments

        Activity

          jamesdumay James Dumay added a comment -

          vivek I remember you had this working initially - do you know what happened?

          jamesdumay James Dumay added a comment - vivek I remember you had this working initially - do you know what happened?

          People

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

            Dates

              Created:
              Updated: