Utility - exportSnapshot


Utility - exportSnapshot

Description :

This command exports the snapshot result from the latest run of this Snapshot Job. You can save the snapshot result in HTML or CSV format.

Use this version of the command if::

  • Only one component template is defined in the Snapshot Job.
  • The snapshot is executed against only one target/component.

If more than one component template is defined in the Snapshot Job, use the command exportSnapshot instead.

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

jobGroupName

String

Fully qualified job group where the Snapshot Job is stored.

jobName

String

Name of the Snapshot Job to export.

exportFileName

String

Name of the file that holds the export.

exportType

String

Format for saving exported results (CSV or HTML).

Example

The following example shows how to export the latest job run result of a Snapshot Job.

Script





Utility exportSnapshot  "/sampleJobGroup"  "sampleJob" "C:/temp/sampleJobResult.csv" "CSV"



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*