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. For more options, visit https://groups.google.com/d/optout.
