1 Answer
- Newest
- Most votes
- Most comments
6
Hello,
You can detect this stderr in your script and exit with 1, so CodeDeploy will fail.
Hope this helps! :)
Relevant content
asked 4 years ago
asked 5 years ago
asked 3 years ago
Hello,
You can detect this stderr in your script and exit with 1, so CodeDeploy will fail.
Hope this helps! :)
asked 4 years ago
asked 5 years ago
asked 3 years ago
Do you have an example?
Well, I don't have enough information to give you an example. But if you're using bash scripts, you could redirect the stderr to a file and then parse this file to check for errors, and if there are any, use
exit 1