Jenkins邮箱功能配置

系统管理 —> 系统配置 —> jenkins Location

在这里插入图片描述

系统管理 —> 系统配置 —> 邮箱通知(E-mail Notification)

SMTP server

 设置邮箱服务器 【例如:smtp.yeah.net 】

Default user e-mail suffix (用户默认邮件后缀)

【例如:@yeah.net 】

Use SMTP Authentication(使用SMTP认证)

用户名:【例如: haliboote2020】
密码:最好用授权码【例如:YFCPNTUXXXXXNEP】

Use SSL(使用SSL协议)

打钩就行

Reply-To Address

在这里插入图片描述

Charset

UTF-8

通过发送测试邮件测试配置(Test configuration by sending test e-mail)

在这里插入图片描述

Jenkins邮箱:设置Extended E-mail Notification

系统管理 —> 系统配置 —> Extended E-mail Notification

在这里插入图片描述
在这里插入图片描述

系统管理 —> 系统配置 —> E-mail Notification

在这里插入图片描述

Jenkins项目job失败发送消息给项目:

build(构建后操作)—> Post-build Actions(构建后操作)

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_43010385/article/details/113728073