tunning the bash file for jenkins