add check for failed git clone to post build groovy scripts of various jobs