Jenkinsfile fixes
This commit is contained in:
parent
133c32b4ea
commit
1529f3348b
|
@ -1,7 +1,5 @@
|
|||
#!/usr/bin/env groovy
|
||||
|
||||
def buildError
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
environment {
|
||||
|
@ -102,9 +100,7 @@ pipeline {
|
|||
post {
|
||||
always {
|
||||
script {
|
||||
if (!env.GIT_COMMITTER_EMAIL)
|
||||
return
|
||||
|
||||
if (!env.GIT_COMMITTER_EMAIL) return
|
||||
mail(
|
||||
to: env.GIT_COMMITTER_EMAIL,
|
||||
subject: "Pipeline: ${env.JOB_NAME} (${env.BUILD_NUMBER}): ${currentBuild.result}",
|
||||
|
|
Loading…
Reference in New Issue