diff --git a/src/scripts/notify.sh b/src/scripts/notify.sh index c098e8e4..289801d9 100644 --- a/src/scripts/notify.sh +++ b/src/scripts/notify.sh @@ -177,11 +177,11 @@ SetupLogs() { # This is done so this script may be tested. ORB_TEST_ENV="bats-core" if [ "${0#*"$ORB_TEST_ENV"}" = "$0" ]; then + . "/tmp/SLACK_JOB_STATUS" + ShouldPost SetupEnvVars SetupLogs CheckEnvVars - . "/tmp/SLACK_JOB_STATUS" - ShouldPost InstallJq BuildMessageBody PostToSlack