add error logic for jenkins.bot