ScaCap/action-surefire-report

Provide access to test <system-out>

Opened this issue · 1 comments

It would be nice if the annotation provides a quick access to the test logs (system out) in addition to the existing "raw output". This would be very handy to troubleshoot failing tests, especially when the project has many and output is redirected into file to avoid polluting the build console.

Test logs are available under the <system-out> XML tag or in a separate -output.txt file when the surefire plugin is configured to redirect console output in a file.

As annotations are not really meant to contain logs, which can get quite big, I recommend you archive any artefacts you need from the job and then you can download all the raw logs and outputs from the jobs. Currently it would just blow up in size and most likely being killed by annotation api size limits.