Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Jenkins send mail notify with attachment?

can Jenkins send mail notify to recipients with attachments? What is more important for me (optional), it could also read from file *.xls and add this to email text.

Or can i add from my system variable to data, which is sending by plugin of jenkins (ext mail) ?

like image 220
deadfish Avatar asked Aug 05 '11 06:08

deadfish


People also ask

How does Jenkins get email notification with attachments?

Now go to Manage Jenkins-> Configure System. Here scroll down to the email notification section. If you are using Gmail then type smtp.gmail.com for the SMTP server. Click on Advanced and select Use SMTP authentication.

How do I send an attachment in Jenkins?

Steps to send mails in Jenkins Step 1: Installing Email Extension Plugin. Jenkins-> click Manage Jenkins-> click on Install Plugins. Step 2: In the Plugins Manager, Under Available tab-> Search for Email Extension-> Select Email Extension Plugin and click on Install without restart.

How do I email notifications from Jenkins?

Go to the Jenkins home page and click the 'Manage Jenkins' menu option. Then, select the 'Configure System' option. Enter the SMTP server name under 'Email Notification'. Click the 'Advanced' button and then click the checkbox next to the 'Use SMTP Authentication' option.

How do I use editable email notifications in Jenkins?

For a project to use this plugin, you need to enable it in the project configuration page. In the Post-build Actions section, click on Add post-build action and then select Editable Email Notification. There are three main fields that you can edit when this plugin is enabled: Project Recipient List.


1 Answers

New answer, as of September 2011: Yes. Issue 9018 has been resolved.

Starting with version 2.15 of the Jenkins email-ext plugin, you can send attachments in Jenkins build notifications. See the Jenkins wiki here:

  • https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin
like image 63
Steve HHH Avatar answered Oct 02 '22 12:10

Steve HHH