Jenkinsfile fixes

This commit is contained in:
Juan Ferrer 2019-01-11 14:51:01 +01:00
parent 133c32b4ea
commit 1529f3348b
1 changed files with 1 additions and 5 deletions

6
Jenkinsfile vendored
View File

@ -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}",