Merge pull request #2676 from cevich/fix_fail_irc

Cirrus: Fix post-merge failure notice
This commit is contained in:
OpenShift Merge Robot
2019-03-16 12:59:32 -07:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@ -12,8 +12,7 @@ NOR="$(echo -n -e '\x0f')"
if [[ "$CIRRUS_BRANCH" =~ "master" ]] if [[ "$CIRRUS_BRANCH" =~ "master" ]]
then then
BURL="https://cirrus-ci.com/build/$CIRRUS_BUILD_ID" BURL="https://cirrus-ci.com/build/$CIRRUS_BUILD_ID"
echo "Monitoring execution of $CIRRUS_TASK_NAME and notifying on failure" 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."
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."
fi fi
# This script assumed to be executed on failure # This script assumed to be executed on failure

View File

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