Build Artifacts

October 25th, 2019

Sometimes the reason builds fail is obvious. Perhaps a migration fails or a unit test fails with a useful error! If so, great. Fix it and move on.

Other times we the reason for a failure is less obvious (altho 90% of the time it's related to environment variable).

To help debug failed builds, we save some "artifacts” on failed builds:

Log files (if any *.log file exists within the storage/logs directory) Dusk screenshots (if any *.png file exists within the tests/Browser/screenshots directory)

When a build fails, for any reason, Chipper searches the code base for the above files. If any exist, they are saved so you can download them and see if they provide any useful feedback.

chipper ci build artifacts