[skip ci] Send notification emails to contributors when publish Milvus images failed (#7090)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/7143/head
quicksilver 2021-08-17 21:16:10 +08:00 committed by GitHub
parent 3d83e99a99
commit ecd9847848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -53,6 +53,18 @@ pipeline {
}
}
post {
unsuccessful {
container('jnlp') {
script {
def authorEmail = sh returnStdout: true, script: 'git --no-pager show -s --format=\'%ae\' HEAD'
emailext subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT',
recipientProviders: [developers(), culprits()],
replyTo: '$DEFAULT_REPLYTO',
to: "${authorEmail},qa@zilliz.com"
}
}
}
cleanup {
container('main') {
script {