Utility - exportDeployRunStatusWithUndoByGroup


Utility - exportDeployRunStatusWithUndoByGroup

Description :

This command exports the server/phase status (the table displayed in the GUI) of the latest run of all Deploy Jobs in a specified group including undo. It places this status information in a CSV file. You must identify the group you want to export.

The CSV file contains the following values:

job_name, target_server, start_time, end_time, result_at_simulate_phase, result_at_stage_phase, result_at_commit_phase, result_of_undo

Sample CSV file:

BL-1,w2k3agt1,Mon Oct 31 08:42:23 EDT 2011,Mon Oct 31 08:43:24 EDT 2011,SUCCESS,SUCCESS,SUCCESS,SUCCESS,

BL-2,w2k3agt2,Mon Oct 31 08:42:12 EDT 2011,Mon Oct 31 08:42:59 EDT 2011,SUCCESS,SUCCESS,SUCCESS,SUCCESS,

FD_USingPackage,w2k3agt1,Tue Nov 01 01:21:40 EDT 2011,Tue Nov 01 01:22:23 EDT 2011,SUCCESS,SUCCESS,FAILURE,FAILURE,

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

jobGroupName

String

Fully qualified job group that contains the Deploy Jobs.

exportFileName

String

Name of the file that holds the export.

Example

The following example shows how to export the latest job run status

Script

blcli Utility exportDeployRunStatusWithUndoByGroup  "/test_group" "C:/temp/sampleJobResult.csv"

 

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