New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail at errors in multiline-commands #3443
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If there is an error in a multiline command, deployer will not fail like bash-scripts do not fail unless the option "set -e -o pipefail" is used:
Example:
dep -v single
fails, because commands are executed one by onedep -v multiNoFail
does not fail, because errors in multiline scripts are ignoreddep -v multiFail
fails, because withset
it fails at any errorI would suggest to automatically add the
set
when there is a multiline command.The text was updated successfully, but these errors were encountered: