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

stage result in post stage action

    Details

    • Similar Issues:

      Description

      Hi,
      
      i need access to the current stage result inside the post block, is it possible to expose a STAGE_RESULT environment variable like the STAGE_NAME?
      
      stage('') {
        steps {
          ...
        }
        post {
          always {
            echo("${env.STAGE_NAME} ${env.STAGE_RESULT}")
          }
        }
      } 

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              a1dutch Andrew Holland
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: