Retrieve screenshot or text file for failed test build

Hi,

TL;DR: Is it possible to retrieve a file from a failed build or send a file attachment in notification?

I’m trying to set up a build which would start front and back end (Angular + Django) of my web app and run some e2e tests. Right now I get errors with failure to find an element on loaded webpage. I suspect that something might be still messed up with the configuration, but there is no way to check what does selenium see. It is posible to take a screenshot from the test or just throw all the page source to a text file, but I couldn’t find any way to get a file from failed build back to my own pc.
Is it possible to retrieve a file from a failed build or send a file attachment in notification?

1 Like