Cirrus: Fix post-merge failure notice

Likely caused by rebase typos after removing test-commit.  This fixes
notifications to actually get sent.  Also show env. vars after setting
up the environment - helps debugging.

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich 2019-03-16 12:14:43 -04:00
parent 97fb495718
commit 2e2a173567
No known key found for this signature in database
GPG key ID: 03EDC70FD578067F
2 changed files with 3 additions and 2 deletions

View file

@ -12,8 +12,7 @@ NOR="$(echo -n -e '\x0f')"
if [[ "$CIRRUS_BRANCH" =~ "master" ]]
then
BURL="https://cirrus-ci.com/build/$CIRRUS_BUILD_ID"
echo "Monitoring execution of $CIRRUS_TASK_NAME and notifying on failure"
MSG="${RED}[Action Recommended]: ${NOR}Post-merge testing ${RED}$CIRRUS_BRANCH failed${NOR} in $CIRRUS_TASK_NAME on $(os_release_id)-$(os_release_ver): $BURL. Please investigate, and re-run if appropriate."
ircmsg "${RED}[Action Recommended]: ${NOR}Post-merge testing ${RED}$CIRRUS_BRANCH failed${NOR} in $CIRRUS_TASK_NAME on $(os_release_id)-$(os_release_ver): $BURL. Please investigate, and re-run if appropriate."
fi
# This script assumed to be executed on failure

View file

@ -89,4 +89,6 @@ then
fi
fi
show_env_vars
record_timestamp "env. setup end"