Airflow BashOperator return exit code 0 even when task failed and return exit code 1
You need to use set -e to ensure the BashOperator to stop execution and return error for any non-zero code.
You need to use set -e to ensure the BashOperator to stop execution and return error for any non-zero code.