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> …
-
--session <SESSION ID STRING>, which you can use if you have a complex test session layout. See Managing complex test session layouts
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.