How to attach a file in email after build successful in Jenkins?

368 views
Skip to first unread message

Poovaraj Thangamariappan

unread,
Dec 24, 2018, 8:31:35 AM12/24/18
to Jenkins User Group
Hi,

I want to attach a file in email after successful build in Jenkins. Please let me know how to a file in email using Jenkins email configuration ?

--

Regards,
Poovaraj


Adam von Nieda

unread,
Dec 24, 2018, 12:26:33 PM12/24/18
to jenkins...@googlegroups.com

   Choose “Editable email notification” as a post-build action. It has an input box for specifying attachments, and has the following text below it. 

   Can use wildcards like 'module/dist/**/*.zip'. See the @includes of Ant fileset for the exact format. The base directory is the workspace.

--
Adam vonNieda




--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMu9-ZWBc%2BbsFKoNJvMN_itV7rm3tM%3DhCL11Lq5hdDw5GAXw3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Poovaraj Thangamariappan

unread,
Dec 24, 2018, 10:47:14 PM12/24/18
to Jenkins Users
Thank you! Let me try this options.

Regards,
Poovaraj
Reply all
Reply to author
Forward
0 new messages