use of org.platformlayer.ops.cas.jenkins.JenkinsCasStore in project platformlayer by platformlayer.
the class CasStoreHelper method buildJenkins.
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);
}
return new JenkinsCasStore(new CasStoreInfo(false), jenkinsClient);
}
Aggregations