• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Jenkins ver. 2.138.2
      Pipeline: Model API 1.3.2

      At the moment all pipeline post steps will be displayed in the latest defined stage. For example:

      pipeline {
          agent;
          stages {
              stage('first stage') { ... }        
              stage('last stage') { ... }
          }
          post {
              always { echo 'Hello World' }
          }
      }
      

      The echo step will be assigned to the "last stage". Would be nice to have a new, "virtual" stage e.g. ("post actions") for all that things.

          [JENKINS-54605] Default stage for post section

            Unassigned Unassigned
            y3ti Kamil Grabowski
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: