DRYed up job info a little. Added java error txt
Added regex to accomadate cloning or rev checkout
Added the correct branch name