未验证 提交 5b2f8d55 编写于 作者: Q quicksilver 提交者: GitHub

[skip ci] Fix send email bug on jenkins pipeline failure (#5721)

Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>
上级 f00b3bcb
...@@ -57,7 +57,7 @@ pipeline { ...@@ -57,7 +57,7 @@ pipeline {
unsuccessful { unsuccessful {
container('jnlp') { container('jnlp') {
script { script {
def authorEmail = sh returnStdout: true, script: 'git --no-pager show -s --format=\'%ae\' HEAD~1' def authorEmail = sh returnStdout: true, script: 'git --no-pager show -s --format=\'%ae\' HEAD'
emailext subject: '$DEFAULT_SUBJECT', emailext subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT', body: '$DEFAULT_CONTENT',
recipientProviders: [developers(), culprits()], recipientProviders: [developers(), culprits()],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册