@Component public class HttpJenkinsClient extends Object implements JenkinsClient
| Constructor and Description |
|---|
HttpJenkinsClient(org.springframework.web.client.RestTemplate restTemplate,
JenkinsSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpEntity<?> |
createSecureRequestEntity() |
List<JenkinsJob> |
getJobs(List<String> servers) |
<T> List<T> |
getLatestArtifacts(Class<T> type,
JenkinsJob job,
Pattern matchingJobPatterns) |
@Autowired
public HttpJenkinsClient(org.springframework.web.client.RestTemplate restTemplate,
JenkinsSettings settings)
public List<JenkinsJob> getJobs(List<String> servers)
getJobs in interface JenkinsClientpublic <T> List<T> getLatestArtifacts(Class<T> type, JenkinsJob job, Pattern matchingJobPatterns)
getLatestArtifacts in interface JenkinsClientpublic org.springframework.http.HttpEntity<?> createSecureRequestEntity()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.