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 <chetan.byali...@gmail.com> 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, <slide.o....@gmail.com> wrote:
>
>> Does failure.html exist in the root of the workspace?
>>
>> On Fri, Feb 3, 2023, 03:35 Chetan <chetan.byali...@gmail.com> 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
>>> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-5vQ7Z430Mi6pqCUL8pP7n%3DR04MFUTCGifBMPyTQcLtEw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfoxQ%3D47qUiyVMv0gdyHCRPaZdh_nOkfpNCZ6RN%3Dqh-5Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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
> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-7AP16183Ghyx0GFvFot5%3Ddqr4NvD1JU37Fuk00RMgp9Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
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.

Reply via email to