Best approach to handle screenshots with Appium?

Hi!

I am currently setting up a whole Appium execution for Android/iOS. The android nodes are located on a Windows machine and the iOS nodes are hosted on a mac machine. Tests were distributed over a selenium hub. On every failed test I want to take a screenshot.

The screenshots were saved locally on their nodes, where I can’t access them for using in a report for example. For me it will be a lot easier, if there is a way to store them on one location (maybe the jenkins node where the test be “executed”).

Has anybody experiences with this problem? Or an idea how to handle this issue in an appropriate way?

Regards,
Mario

we are executing Appium tests with testNG xml and jenkins. jenkins takes care about taking screenshots as artifacts - so we can see what wrong was on client.

not sure about when it is executing in hub.