Avoid logging notification recipient secrets
This commit is contained in:
@@ -63,7 +63,7 @@ pipeline {
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
mail to: recipients, subject: subject, body: body
|
mail to: recipients, subject: subject, body: body
|
||||||
echo "[notify-email] 已发送邮件: recipients=${recipients}, source=${jobName} #${buildNumber}, result=${result}"
|
echo "[notify-email] 已发送邮件: recipientCount=${recipientList.size()}, source=${jobName} #${buildNumber}, result=${result}"
|
||||||
}
|
}
|
||||||
|
|
||||||
def credentialId = params.EMAIL_RECIPIENTS_CREDENTIAL_ID?.trim()
|
def credentialId = params.EMAIL_RECIPIENTS_CREDENTIAL_ID?.trim()
|
||||||
|
|||||||
Reference in New Issue
Block a user