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