mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '2.1.x' into 2.2.x
This commit is contained in:
commit
67060731bc
@ -107,7 +107,7 @@ public class ArtifactoryService {
|
||||
ResponseEntity<BuildInfoResponse> entity = this.restTemplate
|
||||
.getForEntity(BUILD_INFO_URL + buildName + "/" + buildNumber, BuildInfoResponse.class);
|
||||
BuildInfoResponse.Status status = entity.getBody().getBuildInfo().getStatuses()[0];
|
||||
logger.debug("Reutned repository " + status.getRepository() + " expecting " + targetRepo);
|
||||
logger.debug("Returned repository " + status.getRepository() + " expecting " + targetRepo);
|
||||
return status.getRepository().equals(targetRepo);
|
||||
}
|
||||
catch (HttpClientErrorException ex) {
|
||||
|
Loading…
Reference in New Issue
Block a user