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

Disappearing parallels in karoke

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • Pipeline Model Definition 0.8.2
    • tethys, pannonian

      Steps to reproduce

      1. Build the Pipeline from the source code at https://github.com/i386/app-store-demo (Declarative Jenkinsfile) - or see below to copy and paste
      2. Watch as the parallels completely disappear and then reappear
      3. The "Build" stage also flashes to be "Declarative: Checkout"

      This works fine if it is NOT declarative (so may be worth looking at the data), but I know there was a desire to revisit some of the problem areas in karaoke so I think this is a good chance.

      Ideally we could have this test in the ATH and check for the appearance of nodes correctly.

      Simlified pipeline to use as non multibranch for testing and ATH:

      pipeline {
          agent any
          stages {
              stage ('Build') {
                  steps {
                    sh 'echo this stage yo'
                  }
              }
              stage ('Browser Tests') {
                  steps {
                    parallel (
                        'Firefox': {
                            sh "echo 'setting up selenium environment'"
                            sh 'ping -c 5 localhost'
                        },
                        'Safari': {
                            sh "echo 'setting up selenium environment'"
                            sh 'ping -c 8 localhost'
                        },
                        'Chrome': {
                            sh "echo 'setting up selenium environment'"
                            sh 'ping -c 3 localhost'
                        },
                        'Internet Explorer': {
                            sh "echo 'setting up selenium environment'"
                            sh 'ping -c 4 localhost'
                        }
                      )
                  }
              }
              stage ('Static Analysis') {
                  steps {
                    sh 'echo findbugs'
                  }
              }
              stage ('Package') {
                  steps {
                    sh 'echo package > foo.txt'
                  }
              }
          }
      
          post {
              always {
                  
                  archive '**/*.txt'
              }
          }
      }
      

            vivek Vivek Pandey
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: