Removing DRYs in JenkinsHttpClient.