Would it make sense to write the output to a file and then archive that as an artifact?