mark deployment in process when running from batch