Take $ip parameter instead of hard-code to Jenkins env var.