anish chatterjee I have deleted your update under "Update Server Property Job should be customizable" idea. Please do not cross-post.
This discussion will be seen - and hopefully someone like Bill will provide a response.
It will help if you could post the BLCLI command you are using and the result of the execution.
Thanks & Regards,
Jim (Community Admin)
blcli_execute JobRun getJobRunHadErrorsById $DEPLOY_JOB_RUN_ID > /dev/null && blcli_storeenv DEPLOY_JOB_RUN_ERRORS
echo "DEPLOY_JOB_RUN_ERRORS: $DEPLOY_JOB_RUN_ERRORS"
Now, if echo is true - means, job had errors
if False, means it was success