diff --git a/Jenkinsfile b/Jenkinsfile index 3b72ff637..27fe8ea69 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,14 +34,16 @@ pipeline { } } stage ('Checkout') { - checkout scm - script { - env.GIT_COMMITTER_EMAIL = sh( - script: "git --no-pager show -s --format='%ae'", - returnStdout: true - ).trim() + steps { + checkout scm + script { + env.GIT_COMMITTER_EMAIL = sh( + script: "git --no-pager show -s --format='%ae'", + returnStdout: true + ).trim() + } + echo "Committer: ${env.GIT_COMMITTER_EMAIL}" } - echo "Committer: ${env.GIT_COMMITTER_EMAIL}" } stage ('Install') { environment {