ci: Send emails on failed builds

jenkins-master
Dustin 2018-05-19 10:00:34 -05:00
parent ab9bdd447b
commit 1d2e581a85
7 changed files with 45 additions and 0 deletions

View File

@ -75,4 +75,13 @@ pipeline {
}
}
post {
failure {
emailext \
to: 'gyrfalcon@ebonfire.com',
subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT'
}
}
}

View File

@ -73,5 +73,11 @@ pipeline {
sh 'rm -f sudo-pass'
sh 'kdestroy'
}
failure {
emailext \
to: 'gyrfalcon@ebonfire.com',
subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT'
}
}
}

View File

@ -73,5 +73,11 @@ pipeline {
always {
sh 'kdestroy'
}
failure {
emailext \
to: 'gyrfalcon@ebonfire.com',
subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT'
}
}
}

View File

@ -73,5 +73,11 @@ pipeline {
always {
sh 'kdestroy'
}
failure {
emailext \
to: 'gyrfalcon@ebonfire.com',
subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT'
}
}
}

View File

@ -73,5 +73,11 @@ pipeline {
always {
sh 'kdestroy'
}
failure {
emailext \
to: 'gyrfalcon@ebonfire.com',
subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT'
}
}
}

View File

@ -73,5 +73,11 @@ pipeline {
always {
sh 'kdestroy'
}
failure {
emailext \
to: 'gyrfalcon@ebonfire.com',
subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT'
}
}
}

View File

@ -73,5 +73,11 @@ pipeline {
always {
sh 'kdestroy'
}
failure {
emailext \
to: 'gyrfalcon@ebonfire.com',
subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT'
}
}
}