Hudson / jenkins - Display content when clicking link to result

I have a job that runs an executable that gives a JUnit report. This report is analyzed by Hudson (the option "Publish JUnit Test Report" is checked) and each test file is shown as a link. What I would like to do is show the HTML page when the user clicks on the link.

For example, this is a JUnit report that Hudson parses.

<?xml version="1.0" encoding="utf-8"?>
<testsuite name="Root" package="RunnerRoot" errors="0" failures="3" tests="5" time="20.2">
  <testcase classname="Runner" name="Test1" time="3.2283228" />
  <testcase classname="Runner" name="Test2" time="2.9512951">
   <failure> Error Running the test </failure>
  </testcase>

Hudson creates two links called Test1 and Test2, and I want to show customized content from an HTML file when the link is clicked.

thank

+5
source share
1 answer

All Articles