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