Jenkinsfile fixes

This commit is contained in:
Juan Ferrer 2019-01-11 14:01:48 +01:00
parent b8b78f9517
commit 064ed4bd80
1 changed files with 9 additions and 7 deletions

16
Jenkinsfile vendored
View File

@ -34,14 +34,16 @@ pipeline {
} }
} }
stage ('Checkout') { stage ('Checkout') {
checkout scm steps {
script { checkout scm
env.GIT_COMMITTER_EMAIL = sh( script {
script: "git --no-pager show -s --format='%ae'", env.GIT_COMMITTER_EMAIL = sh(
returnStdout: true script: "git --no-pager show -s --format='%ae'",
).trim() returnStdout: true
).trim()
}
echo "Committer: ${env.GIT_COMMITTER_EMAIL}"
} }
echo "Committer: ${env.GIT_COMMITTER_EMAIL}"
} }
stage ('Install') { stage ('Install') {
environment { environment {