I\'m building a CI/CD pipeline using git, codebuild and elastic beanstalk.
During codebuild execution when build fails due to syntax error of a test case, I see cod
I just wanted to point out that if you want the whole execution to stop when a command fails, you may specify the -e option:
-e
When running a bash file
- /bin/bash -e ./commands.sh
Or when running a set of commands/bash file
#!/bin/bash set -e # ... commands