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') {
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 {