Correct I am trying to send error.txt, But which is the workspace location, 
many people said its /var/lib/jenkins/jobs, so am putting there, is it a 
different one?

On Monday, 12 January 2015 20:36:56 UTC+5:30, slide wrote:
>
> Is error.txt what you are trying to attach? If so, it needs to be in the 
> workspace of the job that is running.
>
> On Mon, Jan 12, 2015, 08:03 Rakesh Manoharan <rake...@gmail.com 
> <javascript:>> wrote:
>
>> Started by user Rakesh Manoharan 
>> <http://172.31.254.200:18080/user/rmanoharan>
>> [EnvInject] - Loading node environment variables.
>> Building in workspace /var/lib/jenkins/workspace/ErrorLogNotifications
>> Checking for pre-build
>> Executing pre-build step
>> Checking if email needs to be generated
>> No emails were triggered.
>> [ErrorLogNotifications] $ /bin/sh -xe /tmp/hudson1929319248867282733.sh
>> + cd 
>> /usr/local/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/dev1a/log/
>> + cat server.log
>> + grep ERROR
>> + mv error.txt /var/lib/jenkins/jobs/
>> Checking for post-build
>> Performing post-build step
>> Checking if email needs to be generated
>> Email was triggered for: Success
>> Sending email for trigger: Success
>> NOT overriding default server settings, using Mailer to create session
>> messageContentType = text/html; charset=UTF-8
>> Adding recipients from recipient list
>> Successfully created MimeMessage
>> Sending email to: rmano...@mcfadyen.com <javascript:>
>>
>> Finished: SUCCESS
>>
>>
>> On Monday, 12 January 2015 20:28:37 UTC+5:30, slide wrote:
>>
>>> In the global configuration there is a check box to enable debug mode
>>>  
>>> On Mon, Jan 12, 2015, 07:54 Rakesh Manoharan <rake...@gmail.com> wrote:
>>>
>> It would be great, if you can tell me how can I enable debug in that 
>>>> plugin?
>>>>
>>>>
>>>> On Monday, 12 January 2015 19:55:29 UTC+5:30, slide wrote:
>>>>
>>>>> OK, please enable debug mode in the global configuration for 
>>>>> email-ext, it should add some info about attachments.
>>>>>
>>>>> On Sun, Jan 11, 2015, 23:01 Rakesh Manoharan <rake...@gmail.com> 
>>>>> wrote:
>>>>>
>>>> Thanks, but that also didn't work :(
>>>>>>
>>>>>>
>>>>>> On Friday, 9 January 2015 21:14:32 UTC+5:30, slide wrote:
>>>>>>
>>>>>>> Please remove the quotes from the pattern and see if that works.
>>>>>>>
>>>>>>> On Thu Jan 08 2015 at 8:55:30 PM Rakesh Manoharan <rake...@gmail.com> 
>>>>>>> wrote:
>>>>>>>
>>>>>> Sorry about that, please find the attached config file.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thursday, 8 January 2015 21:22:23 UTC+5:30, slide wrote:
>>>>>>>>
>>>>>>>>> Perhaps you could supply your config.xml for the job, or 
>>>>>>>>> screenshots or something. We're kind of flying blindly at this point.
>>>>>>>>>
>>>>>>>>> On Thu Jan 08 2015 at 6:25:56 AM Rakesh Manoharan <
>>>>>>>>> rake...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>> Thanks, but that also didnt work, any other suggestions
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Wednesday, 7 January 2015 18:30:18 UTC+5:30, slide wrote:
>>>>>>>>>>
>>>>>>>>>>> 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 <
>>>>>>>>>>> rake...@gmail.com> 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 jenkinsci-de...@googlegroups.com.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/196ae0cb-599
>>>>>>>>>>>> 7-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 jenkinsci-de...@googlegroups.com.
>>>>>>>>>>
>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/177472d0-14a
>>>>>>>>>> b-4a94-ba5e-bc8466e1a56b%40googlegroups.com 
>>>>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/177472d0-14ab-4a94-ba5e-bc8466e1a56b%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 jenkinsci-de...@googlegroups.com.
>>>>>>>>
>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/6ad13abc-f8f
>>>>>>>> 2-40f2-b82c-6869ec347e20%40googlegroups.com 
>>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/6ad13abc-f8f2-40f2-b82c-6869ec347e20%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 jenkinsci-de...@googlegroups.com.
>>>>>>
>>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>>>> msgid/jenkinsci-dev/94681a7e-e8aa-4738-aecc-e5c4281bbb82%40goo
>>>>>> glegroups.com 
>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/94681a7e-e8aa-4738-aecc-e5c4281bbb82%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 jenkinsci-de...@googlegroups.com.
>>>>
>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/jenkinsci-dev/5fc6af85-04c4-4ecd-bc6a-98e287001819%
>>>> 40googlegroups.com 
>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/5fc6af85-04c4-4ecd-bc6a-98e287001819%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 jenkinsci-de...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/78bf90dd-ce69-47aa-a998-ad4ba126a475%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/78bf90dd-ce69-47aa-a998-ad4ba126a475%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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/3213eaa5-a758-443c-a0d2-69fb71c5552c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to