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?
We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events