After this edit the comment does not match the actual implementation since you are passing in an instance of JenkinsHttpClient instead of the URL