Hi! I've found this way: putting in shell console as a new action in the step and write: mpack -s "Subject here" file [email protected] Where "file" would be my file I want to attach to the mail.
<https://lh3.googleusercontent.com/-3quz2hkcwh0/WalFKcTl5II/AAAAAAAAAJw/Xb35lGGVN8sRUeQ1P07ncpKBVwiw1cVcwCLcBGAs/s1600/Screenshot_12.jpg> Why is this wrong? Thanks so much! W El viernes, 1 de septiembre de 2017, 10:17:39 (UTC+2), Ana MB escribió: > > Hi guys! > > I have a question... from Conditional BuildStep plugin I don't have "Send > mail" Option, I show you; > > > <https://lh3.googleusercontent.com/-I3rj_L2NZPc/WakXaOTd1gI/AAAAAAAAAJQ/3-3xuEJRABcR0pl0c_teIREDp0W93lhmwCLcBGAs/s1600/Screenshot_10.jpg> > > How could I send it? > > Thanks so much!!! > > > El miércoles, 30 de agosto de 2017, 21:17:31 (UTC+2), Jackson, Randy > escribió: >> >> You might also want to look into the Conditional BuildStep plugin. It >> has a “File Exists” conditional. >> >> >> >> *From:* [email protected] [mailto:[email protected]] *On >> Behalf Of *Slide >> *Sent:* Wednesday, August 30, 2017 8:53 AM >> *To:* Jenkins Users >> *Subject:* Re: Send mail from Jenkins with attach conditioned file >> >> >> >> Email-ext will do this. You just supply a pattern for the files you want >> attached. I think it will work fine if the files are not there. >> >> >> >> On Wed, Aug 30, 2017, 03:48 <[email protected]> wrote: >> >> Hi guys! >> >> >> >> I want to send an email from Jenkins only when a condition happens, I'll >> tell you: I want to attach a file .csv only when this file has been >> generated in the test (there will be times that the test doesn't create >> that file because it will happen when the test finds errors in the >> information. It the test doesn't fin error in information, it doesn't >> create the file .csv). I don't know if there is any way to do it? >> >> >> >> I've been searching in configuration of Jenkins but I don't find a way to >> do it... >> >> >> >> Thanks so much for your help!!!! >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/f90493ec-a514-491b-bd3b-f86408e1a12d%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/f90493ec-a514-491b-bd3b-f86408e1a12d%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVdfJ_FbpJh8KpxG80R-zxAXv%3DDBj-n33CDr%3DvC67SpCRQ%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVdfJ_FbpJh8KpxG80R-zxAXv%3DDBj-n33CDr%3DvC67SpCRQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> ------------------------------ >> This email is intended solely for the named addressee(s) and may be >> confidential or contain privileged information. Review, disclosure, >> copying, distribution, or use of this email by anyone other than an >> intended recipient is strictly prohibited. If you received this email in >> error, please delete it from your system and notify the sender immediately. >> While precautions have been taken to help ensure no computer viruses are >> present, there is a risk whenever transmitting emails or downloading >> attachments. The sender will not be liable for any loss or damage resulting >> from any malware in this communication or for improper or incomplete >> transmission of its contents or for any delay in its receipt. >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/352962f2-b94e-43e3-adb1-8790edab4a65%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
