Code to detect url of buildandshoot server