slide schrieb am Mittwoch, 15. Februar 2023 um 19:46:07 UTC+1:
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....@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...@gmail.com> wrote:
Does failure.html exist in the root of the workspace?

On Fri, Feb 3, 2023, 03:35 Chetan <chetan....@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: 'tbu...@harman.com',
                    to : 
'$GERRIT_CHANGE_OWNER_EMAIL,$GERRIT_PATCHSET_UPLOADER_EMAIL'
                )


Instead of inlininig a possibly huge file in the email-body, did you 
consider adding it as an attachment instead?



 
*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-use...@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-use...@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-use...@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/1c4136a9-ee83-4b4e-a2b1-b10cd09ee104n%40googlegroups.com.

Reply via email to