Currently Browsing

Posts Tagged ‘ notification ’

Sending notification for broken builds via gmail account in Jenkins

To be able to send emails in Jenkins we have to do two things:
Setup SMTP server in global settings and set the notification option in the project.

    To set SMTP server:

  • go to Manage Jenkins -> Global Settings
  • SMTP server (i.e., outgoing mail): smtp.gmail.com
  • SMTP username: Your full Gmail or Google Apps email address (e.g. example@gmail.com or example@yourdomain.com)
  • SMTP password: Your Gmail or Google Apps email password – be aware if you have a 2-Step Verification, you have to generate a code for the setup
  • SMTP port: 465
  • SMTP TLS/SSL required: yes

2015-10-13_2252[1]