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