Shippable / support

Shippable SaaS customers can report issues and feature requests in this repository
100 stars 28 forks source link

Take a screenshot during build? #5096

Open dom-sbn opened 4 years ago

dom-sbn commented 4 years ago

Description of your issue:

Hi there, is there a way to take a screenshot during a build? Please advise, thank you!

NOTE: If you are experiencing a build failure, please include:

a-murphy commented 4 years ago

Some test runners and testing frameworks can take screenshots. Since build nodes don't typically have a display, you'll need to use one that runs with a virtual display. Which test runner you choose depends on the languages you use and any other features you require.

There is some information about using Selenium on Shippable here and Selenium is able to take screenshots.

dom-sbn commented 4 years ago

Thanks for the information.

I have a test that keeps failing on shippable and I am unable to recreate the fail locally. Is there someone I can talk to about this?

a-murphy commented 4 years ago

If you include either the link or the project ID from the bottom of the page in an issue here, we can look at errors. However, in most cases we can really only help if it's related to the configuration on Shippable. We don't generally know enough about a particular project to be able to help with other errors.

Most failures that appear to only occur on Shippable are because a different version of a dependency is installed. There are also connection failures, usually seen when starting a second container and specifying an address that isn't that container. In some cases, it can also be because there are fewer resources available on the build node than locally, or more resources than locally, causing parallel threads to potentially complete in a different order than usually seen locally.

dom-sbn commented 4 years ago

This helps. Thank you.