mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '2.4.x' into 2.5.x
This commit is contained in:
commit
b4346f0dda
@ -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…
Reference in New Issue
Block a user