Re: Issue with the Jenkins Plugin emailext Plugin.

2023-02-15 Thread Alex Earl
Can you check the Jenkins logs and see if there is a full exception trace
in the log?

On Wed, Feb 15, 2023 at 11:01 AM Chetan  wrote:

> Hi
>
> Yes the failure.html will created in workspace before calling the
> emailext. Also it will not happen everytime.
>
> I'm trying to figure out does it somehow depend on the nodes we use. Also
> i believe the content of failure.html might be causing the issue as it will
> have many logs lines entries.
>
> On Wed, 15 Feb, 2023, 7:23 am Alex Earl,  wrote:
>
>> Does failure.html exist in the root of the workspace?
>>
>> On Fri, Feb 3, 2023, 03:35 Chetan  wrote:
>>
>>> Hi Jenkins Experts
>>>
>>> I get the below error message sometime only when i use the html file as
>>> email.
>>>
>>> Jenkins Code:
>>>
>>>  emailext (
>>> mimeType: 'text/html',
>>> subject: 'Compilation Varification Failed for
>>> Gerrit',
>>> attachLog: true,
>>> attachmentsPattern: 'Errors/*.log,BTLD/Errors/*.log'
>>> ,
>>> body: '${FILE, path="failure.html"}',
>>> from: 'tbui...@harman.com',
>>> to :
>>> '$GERRIT_CHANGE_OWNER_EMAIL,$GERRIT_PATCHSET_UPLOADER_EMAIL'
>>> )
>>>
>>> *Error: *
>>> *[Error replacing 'FILE' - Error processing tokens]*
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Thanks & Best Regars
>>>
>>> *Chetan B*
>>>
>>> --
>>> 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-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-5vQ7Z430Mi6pqCUL8pP7n%3DR04MFUTCGifBMPyTQcLtEw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfoxQ%3D47qUiyVMv0gdyHCRPaZdh_nOkfpNCZ6RN%3Dqh-5Q%40mail.gmail.com
>> 
>> .
>>
> --
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-7AP16183Ghyx0GFvFot5%3Ddqr4NvD1JU37Fuk00RMgp9Q%40mail.gmail.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVezfgoR3T643m90cX8_MbTB%3DBMCHh8%3DacW9fUWbazZfpg%40mail.gmail.com.


Re: Issue with the Jenkins Plugin emailext Plugin.

2023-02-15 Thread Chetan
Hi

Yes the failure.html will created in workspace before calling the emailext.
Also it will not happen everytime.

I'm trying to figure out does it somehow depend on the nodes we use. Also i
believe the content of failure.html might be causing the issue as it will
have many logs lines entries.

On Wed, 15 Feb, 2023, 7:23 am Alex Earl,  wrote:

> Does failure.html exist in the root of the workspace?
>
> On Fri, Feb 3, 2023, 03:35 Chetan  wrote:
>
>> Hi Jenkins Experts
>>
>> I get the below error message sometime only when i use the html file as
>> email.
>>
>> Jenkins Code:
>>
>>  emailext (
>> mimeType: 'text/html',
>> subject: 'Compilation Varification Failed for Gerrit'
>> ,
>> attachLog: true,
>> attachmentsPattern: 'Errors/*.log,BTLD/Errors/*.log',
>> body: '${FILE, path="failure.html"}',
>> from: 'tbui...@harman.com',
>> to :
>> '$GERRIT_CHANGE_OWNER_EMAIL,$GERRIT_PATCHSET_UPLOADER_EMAIL'
>> )
>>
>> *Error: *
>> *[Error replacing 'FILE' - Error processing tokens]*
>>
>>
>>
>>
>>
>>
>>
>>
>> Thanks & Best Regars
>>
>> *Chetan B*
>>
>> --
>> 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-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-5vQ7Z430Mi6pqCUL8pP7n%3DR04MFUTCGifBMPyTQcLtEw%40mail.gmail.com
>> 
>> .
>>
> --
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfoxQ%3D47qUiyVMv0gdyHCRPaZdh_nOkfpNCZ6RN%3Dqh-5Q%40mail.gmail.com
> 
> .
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-7AP16183Ghyx0GFvFot5%3Ddqr4NvD1JU37Fuk00RMgp9Q%40mail.gmail.com.