#243  Display HTML reports from (gradle) build directory
Closed
Chris opened 3 years ago

Hi,

not sure if you already have this as a feature request, I just found #126. But it would be great to just display various HTML report files generated by the build. Maybe using a configurable pattern in the build job definition. My specific usecases contain the following reports at the moment:

  • JUnit
  • Detekt
  • Jacoco

All of them are HTML files wich maybe could be displayed in a iFrame or opened in a new tab. It would be easy to integrate the results into the UI without the need to parse anything. Of course this just suits simpler usecases and does not allow to really depend on the statistics.

Any thoughts on this?

Best regards, Chris

Robin Shen commented 3 years ago

OneDev previously had a post-build action to publish html report, and removed that due to security issue. It can easily introduce XSS attach as it allows displaying user-provided html/javascript content by running jobs on their own branches/pull requests.

Chris commented 3 years ago

Hmm, yeah right. Did not think about that attack vector. Too bad.

Robin Shen changed state to 'Closed' 3 years ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
Issue Votes (0)
Watchers (3)
Reference
onedev/server#243
Please wait...
Page is in error, reload to recover