Jenkinsfile fixes
This commit is contained in:
parent
b8b78f9517
commit
064ed4bd80
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue