Merge branch '2.3.x' into 2.4.x

pull/27348/head
Madhura Bhave 3 years ago
commit fb008a4b71

@ -93,7 +93,7 @@ public class ArtifactoryService {
private boolean isAlreadyPromoted(String buildName, String buildNumber, String targetRepo) { private boolean isAlreadyPromoted(String buildName, String buildNumber, String targetRepo) {
try { try {
logger.debug("Checking if alreay promoted"); logger.debug("Checking if already promoted");
ResponseEntity<BuildInfoResponse> entity = this.restTemplate ResponseEntity<BuildInfoResponse> entity = this.restTemplate
.getForEntity(BUILD_INFO_URL + buildName + "/" + buildNumber, BuildInfoResponse.class); .getForEntity(BUILD_INFO_URL + buildName + "/" + buildNumber, BuildInfoResponse.class);
BuildInfoResponse.Status status = entity.getBody().getBuildInfo().getStatuses()[0]; BuildInfoResponse.Status status = entity.getBody().getBuildInfo().getStatuses()[0];

Loading…
Cancel
Save