Bug 561767 - Links in jenkins mails from new infra are not clickable
Summary: Links in jenkins mails from new infra are not clickable
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 4.16   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Releng-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-04 05:06 EDT by Stephan Herrmann CLA
Modified: 2020-08-06 03:57 EDT (History)
2 users (show)

See Also:


Attachments
mail as received locally (3.88 KB, text/plain)
2020-04-06 16:04 EDT, Stephan Herrmann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2020-04-04 05:06:45 EDT
Emails sent from jenkins on new infra contain URLs that are not clickable - in my case when viewed in Thunderbird, but the same applies when viewing list mails in the browser [1] vs. [2]

I see two problems:

Mails are marked with
  Content-Type: text/html; charset=UTF-8
but URLs are not enclosed in <a href=...>_</a>

Links contain bogus blanks, like
https://download.eclipse.org/eclipse/downloads/drops4/I20200402-0850 / Build logs
https://download.eclipse.org/eclipse/downloads/drops4/I20200402-0850
/testResults.php

Happens in SDK build mails sent to platform-releng-dev@eclipse.org [2] and also since recently for JDT jobs like https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-1.8

[1] https://www.eclipse.org/lists/platform-releng-dev/msg36255.html
[2] https://www.eclipse.org/lists/platform-releng-dev/msg36315.html
Comment 1 Sravan Kumar Lakkimsetti CLA 2020-04-06 01:37:27 EDT
Thank you for raising this issue. This has been fixed from build I20200404-0330.

Please reopen if you see this error again
Comment 2 Stephan Herrmann CLA 2020-04-06 16:02:08 EDT
Thanks, but sorry, the html vs text part is not fixed for me, see, e.g., https://www.eclipse.org/lists/platform-releng-dev/msg36322.html (not clickable) in comparison to the old form https://www.eclipse.org/lists/platform-releng-dev/msg36255.html (clickable).
Comment 3 Stephan Herrmann CLA 2020-04-06 16:04:30 EDT
Created attachment 282360 [details]
mail as received locally

In the attached mail, you can see two parts, one text/html containing <br> but no <a href=..>.

Follows a text/plain part but that only contains the signature of the mailing list (with a clickable link, btw.)
Comment 4 Sravan Kumar Lakkimsetti CLA 2020-04-07 01:57:13 EDT
We did not explicitly created a html content for the mail body. I will try to create html body in the mail. But might take some time. 

I will try to fix this in early M2
Comment 5 Stephan Herrmann CLA 2020-04-07 06:46:25 EDT
(In reply to Sravan Kumar Lakkimsetti from comment #4)
> We did not explicitly created a html content for the mail body. I will try
> to create html body in the mail. But might take some time. 
> 
> I will try to fix this in early M2

Thanks, no hurry, since this is just a matter of convenience :)
Comment 6 Sravan Kumar Lakkimsetti CLA 2020-05-13 01:32:29 EDT
Re targetting as we may not get time in 4.16. Removing target as 4.17 is not available in the list
Comment 7 Alexander Kurtakov CLA 2020-08-06 03:50:12 EDT
This has been fixed for quite some time.
Comment 8 Sravan Kumar Lakkimsetti CLA 2020-08-06 03:57:13 EDT
In most of the mail clients we do get clickable links. There are some mail clients the links are not clickable. To fix this we need to use html in the mail body.