ci: Send emails on failed builds

This commit is contained in:
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'
}
}
}