Example
| // Declarative Pipeline | |
| pipeline { | |
| agent { label "builder" } | |
| options { | |
| timestamps() | |
| skipDefaultCheckout() | |
| ansiColor colorMapName: 'XTerm' | |
| buildDiscarder(logRotator(numToKeepStr: '10')) | |
| } | |
| stages { | |
| stage ('Stage 1') { | |
| steps { | |
| echo "${ghprbActualCommitAuthorEmail}" | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
mcneary70 commentedMar 22, 2017
Try echo "${env.ghprbActualCommitAuthorEmail}"