Todd Mazierski created JENKINS-13115: ----------------------------------------
Summary: Same attachment can appear multiple times on "Test Result" page Key: JENKINS-13115 URL: https://issues.jenkins-ci.org/browse/JENKINS-13115 Project: Jenkins Issue Type: Bug Components: junit-attachments Reporter: Todd Mazierski Assignee: huybrechts Priority: Minor In the JUnit XML report, if the [[ATTACHMENT|/path/to/file]] appears in the <system-out> in the <testsuite> node (instead of <testcase>), the same attachment can appear multiple times on the "Test Result" page. For example, this XML report: <?xml version="1.0" encoding="UTF-8"?> <testsuite name="foo_bar_baz" tests="3" failures="0" skipped="0"> <testcase name="01. test foo"> </testcase> <testcase name="02. test bar"> </testcase> <testcase name="03. test baz"> </testcase> <system-out> <![CDATA[ [[ATTACHMENT|/temp/foo_bar_baz.mov]]]]> </system-out> <system-err> <![CDATA[]]> </system-err> </testsuite> Would yield this result on the "Test Result" page: <table style="margin-top: 1em; margin-left:0em;"> <tbody> <tr> <td> <h3>Attachments</h3> <table class="pane" id="attachments"> <tbody> <tr> <td class="pane-header">Files</td> </tr> <tr> <td class="pane"><a href= "attachments/foo_bar_baz.mov">foo_bar_baz.mov</a></td> </tr> <tr> <td class="pane"><a href= "attachments/foo_bar_baz.mov">foo_bar_baz.mov</a></td> </tr> <tr> <td class="pane"><a href= "attachments/foo_bar_baz.mov">foo_bar_baz.mov</a></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira