CodeValet / master

A custom, all batteries included, Jenkins master image
GNU Affero General Public License v3.0
3 stars 2 forks source link

Configure Jenkins with SMTP capability via Send Grid #5

Open rtyler opened 6 years ago

rtyler commented 6 years ago

It would be very useful to allow Jenkins to send emails via the mail step in Pipeline.

Thinking defensively about this, I believe that Code Valet would need some means of queuing these emails per user. Perhaps by overriding the mail step with something that would contact an internal Code Valet API which talks to Send Grid? More or less, there needs to be some way to prevent abuse.

was codevalet/codevalet#48

chinmay90kulkarni commented 6 years ago

@rtyler best way to send mail from jenkins using mail plugins. and on SendGrid side, create your own relay server. add credentials to jenkins mail plugin and we are good to go. Only one (I can't say disadvantage is that) SendGrid is a paid service. 30 day trial will not going to help for longterm!