Hi guys,
I am uploading the logs of unit testing to S3 so the logic of the script is like:
set +e
./perform_unit_testing.sh
RESULT=$?
set -e
./upload_logs.sh
exit $RESULT
...but it makes the pipelines always succeed regardless of the value of RESULT.
How to correctly fail a pipeline?