I work on a deployment process using AWS CodeDeploy. When there is a failure in one of the scripts specified in appspec.yml, you get this nice little log output giving back STDOUT:
However, when all events are successful, it seems there is no way to see STDOUT:
Is there a way to see all STDOUT even when deployment events succeed?
Someone managed to get the answer to this and here is the solution:
On each instance:
cat /opt/codedeploy-agent/deployment-root/deployment-logs/codedeploy-agent-deployments.log
Sorry for the bother, hope it helps somebody one day!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.