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

Render sequential stages that are not in parallel

      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. 

          [JENKINS-53501] Render sequential stages that are not in parallel

          Ryan Ragnell added a comment -

          The "Integration Tests" stage in Ilya's example is really a "wrapper" stage that should be displayed as such. It'd be nice if its progress could be shown as the cumulative progress of all of its "child" stages, displayed somewhere above all of the individual stages that fall under it.

          Ryan Ragnell added a comment - The "Integration Tests" stage in Ilya's example is really a "wrapper" stage that should be displayed as such. It'd be nice if its progress could be shown as the cumulative progress of all of its "child" stages, displayed somewhere above all of the individual stages that fall under it.

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

              Created:
              Updated: