What do you mean by ‘job details’ ? what information do you want ?
Job Details as in Job run status - success, failure, aborted and similarly - servers on which it was success, failure, aborted
since a job can have many runs, are you getting the job run id as well ? what information is in this email ? (and this is the mail that the job notification generates or something else ?)
what kind of job is this ?
Job id: 2044797
Job Group id: 2024060
Job Run id: 2632447
This is the same Email or the SNMP trap alert generated from DeployJob notification once its completed.
so you have the job run id. go look in the jobrun namespace for commands that pull the info you want.
There's an unreleased command that lets you do this:
Command Name : exportDeployResults
Name space : Utility
Command Type : Procedure
Release command : false
Description : Exports Deploy Job results into a comma separated values file.
Return type : java.lang.Void
Command Input :
Variable Name Variable Type Description Job key DBKey Handle to the job to export. Job Run Key DBKey Handle to the run of the job to export. Export file name String Name of the export file.
You should also be able to feed the job id into a jobrun command to see if the job had errors if that’s all you need…