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

Render sequential stages that are not in parallel

XMLWordPrintable

      The new sequential stages improvement is awesome and I understand it's meant for use in parallel, but I do have a use case where I am not using it in parallel. 

      Take this pipeline example for integration tests:

      stage('Integration Tests') {
          options {
              lock('ci-instrument')
          }
          stages {
              stage('Setup') {
                  agent {
                      label 'ci-instrument'
                  }
                  steps {
                      sh '<setup steps>'
                  }
              stage('Run Tests') {
                  agent {
                      dockerfile {
      
                      }
                  }
                  steps {
                     sh 'NOT running on "ci-instrument", but it still needs to be locked"
                  }
              }
              stage('Copy results') {
               ....
              }
          }
      }

       

      This is visualized as 

      It would be nice to have the Setup, Run Tests, and Copy Test Results stages to be under the Integration Tests stage, either always visible or maybe clicking Integration Tests will pop up the stages under it. 

            Unassigned Unassigned
            ilederman Ilya Lederman
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: