You just need to put the pattern into the textbox, nothing else. "**/*.log.gz" should be all you need
On Tue Jan 06 2015 at 9:24:29 PM Rakesh Manoharan <[email protected]> wrote: > I am trying to give the following ant pattern for attachments in editable > email notification plugin. > > I believe my base directory could be /var/lib/jenkins/workspace/ > > <fileset dir="error/*" casesensitive="yes"> <include > name="**/*.log.gz"/> </fileset> > > I have error.log.gz file in directory /var/lib/jenkins/workspace/error/ > > After doing this the email is coming with no attachments. Can some one > please tell where its going wrong, or could you please share a sample ant > xml pattern for attachments in jenkins? > > I have also tried the following pattern > > <attachments> > <fileset dir="dist"> > <include name="**/*.gz" /> > </fileset></attachments> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" 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-dev/196ae0cb-5997-4e12-9ab5-01630de4cb4a%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/196ae0cb-5997-4e12-9ab5-01630de4cb4a%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 Developers" 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-dev/CAPiUgVe7CW3voy3cAPDqBTZZGXft-gSnZbgYF0_jArPEP6SkhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
