mirror of https://github.com/milvus-io/milvus.git
[skip ci] Send notification emails to contributors when publish Milvus images failed (#7090)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>pull/7143/head
parent
3d83e99a99
commit
ecd9847848
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue