@Inject
ProviderHelper providers;
private static JenkinsCasStore buildJenkins(String baseUrl) {
HttpClient httpClient = new DefaultHttpClient();
JenkinsClient jenkinsClient;
try {
jenkinsClient = new JenkinsClient(httpClient, new URI(baseUrl));
} catch (URISyntaxException e) {
throw new IllegalArgumentException("Error parsing URI", e);