cleaning up jenkins script.