DeployJobRun - findLastRunIdByJobKey

DeployJobRun - findLastRunIdByJobKey

Description :

This command finds the run id of the last job run for the deploy job. This command takes into account the unique structure of the deploy job when looking up the last run.

Return type : Integer

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Key for the job.

Example

JOB_GROUP=/Deploy

JOB_NAME=deploy_test

JOB_KEY=`blcli DeployJob getDBKeyByGroupAndName $JOB_GROUP $JOB_NAME`

RUN_ID=`blcli DeployJobRun findLastRunIdByJobKey $JOB_KEY`

Was this page helpful? Yes No Submitting... Thank you

Comments