Attaching log files

1 minute read

Logs produced during the test execution can be submitted as attachments. CloudBees Smart Tests uses these log files to further analyze test results and assists users to diagnose test failures.

The command to do so is as follows:

smart-tests record attachment <FILE1> <FILE2> …​

File names (excluding directories) are used as an identity of the log files. These identities should stay the same from one test session to next. If you are submitting multiple log files, each of them should have different identities.