Skip to content

Commit

Permalink
CI script, adding CI_FAILURE_NOTIFICATION_DISABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-brandizi committed Mar 25, 2024
1 parent e19f11f commit 1b17060
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci-build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ set -e
#
function notify_failure
{
if [[ ! "${CI_FAILURE_NOTIFICATION_DISABLED}" == true ]]; then
# Useful when debugging
if [[ "${CI_FAILURE_NOTIFICATION_DISABLED}" == true ]]; then
printf "\n CI_FAILURE_NOTIFICATION_DISABLED is set, no failure notification sent"
return 1
fi
Expand Down

0 comments on commit 1b17060

Please sign in to comment.