1.安装插件
2.在系统设置-Jenkins Location-设置系统管理员邮件地址
3.设置邮箱通知
4.设置Extended E-mail Notification
5.在构建的项目中设置邮箱信息(增加构建后操作)