Archive

Upload files from the test environment or host to your FirmwareCI job report. Over SSH, the step reads the file with SFTP, so the SSH server on the target must offer SFTP.

AttributeTypeRequiredDefaultDescription
cmdconstYesarchiveCommand name
namestringYesUnique identifier for the test step (shown in reports, logs, and WebUI)
transportTransportObjectNoTransport options
optionsOptionsObjectNoAdditional command options
parametersArchiveOptionsYesArchive-specific parameters

Archive Options

AttributeTypeRequiredDefaultDescription
pathstringYesPath to the file to upload
namestringNoCustom name for the uploaded file (defaults to original file name if not set)

Archive Example

cmd: archive
name: Upload OS release info
transport: *transport
options:
  timeout: 1m
parameters:
  path: "/etc/os-release"
  name: "os-infos.txt"