Skip to content

Commit 711bd69

Browse files
committed
Merge pull request #29 from Jones2026/patch-1
Adding final deployment status and instance status
2 parents c79b817 + fb61f36 commit 711bd69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/amazonaws/codedeploy/AWSCodeDeployPublisher.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,9 @@ private boolean waitForDeployment(AWSClients aws, String deploymentId) throws In
388388

389389
Thread.sleep(pollingFreqMillis);
390390
}
391-
391+
392+
logger.println("Deployment status: " + deployStatus.getStatus() + "; instances: " + deployStatus.getDeploymentOverview());
393+
392394
if (!deployStatus.getStatus().equals(DeploymentStatus.Succeeded.toString())) {
393395
this.logger.println("Deployment did not succeed. Final status: " + deployStatus.getStatus());
394396
success = false;

0 commit comments

Comments
 (0)