Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example
// Declarative Pipeline
pipeline {
agent { label "builder" }
options {
timestamps()
skipDefaultCheckout()
ansiColor colorMapName: 'XTerm'
buildDiscarder(logRotator(numToKeepStr: '10'))
}
stages {
stage ('Stage 1') {
steps {
echo "${ghprbActualCommitAuthorEmail}"
}
}
}
}
@mcneary70

This comment has been minimized.

Copy link

mcneary70 commented Mar 22, 2017

Try echo "${env.ghprbActualCommitAuthorEmail}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.