I am deploying using codedeploy through Jenkins.
In Jenkins, I created a shell to query codedeploy's deployment-id with aws-cli.
Here is the corresponding command.
aws deploy list-deployments --application-name [my-application-name] --deployment-group-name [my-deployment-group-name] --query "deployments[0]" --output text
In the case of other distribution groups, only one distribution id was normally output, but in the case of a specific distribution group, two were output.
One was the most recent one, but the second output was the deployment-id that was deployed 4 months ago.
What could be the cause of this output?
Additionally, how can I delete the Deployment history in codedeploy?
It perfectly answered what I was curious about. thank you!!!
It perfectly answered what I was curious about. thank you!!!