davidparsson / junit-report-builder

Making it easier to build Jenkins compatible JUnit XML reports
MIT License
23 stars 14 forks source link

Adding ability to include attachment in system-err #4

Closed anto-ac closed 6 years ago

anto-ac commented 6 years ago

This is to implement the ability to add attachments (limited to system-err for now) as explained in the link below, so that they can be picked up by the jenkins plugin.

http://kohsuke.org/?s=junit+attachment

davidparsson commented 6 years ago

If you're able to make the build pass now I'd be more than happy to merge this. Thanks for your contribution!

davidparsson commented 6 years ago

Now the builds pass, great! Now all I need is a confirmation that it works as intended, and I'll merge it. Please let me know once you've verified that.

anto-ac commented 6 years ago

Hey @davidparsson. Yes, I've managed to verify it. Behaviour of the junit attachment plugin is even nicer when adding attachment to test cases, as they appear on the test case report page. See images of the xml test report I've used and of the report in Jenkins.

junit-attachment

report
davidparsson commented 6 years ago

Nice, thanks! I'll get a new release out as soon as possible.

davidparsson commented 6 years ago

Released in junit-report-builder@1.3.0.