From 68d98842636e93520057168b2d00180e95a0b4a6 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Wed, 15 Mar 2017 23:31:50 -0400 Subject: [build] Post nightly build status to Slack --- platform/ios/bitrise.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'platform') diff --git a/platform/ios/bitrise.yml b/platform/ios/bitrise.yml index 01c64cb313..53287ec06d 100644 --- a/platform/ios/bitrise.yml +++ b/platform/ios/bitrise.yml @@ -85,3 +85,18 @@ workflows: CLOUDWATCH=true platform/ios/scripts/metrics.sh platform/ios/scripts/deploy-nightly.sh - is_debug: 'yes' + - slack: + title: Post to Slack + inputs: + - webhook_url: "$SLACK_HOOK_URL" + - channel: "#gl-bots" + - from_username: 'Bitrise iOS Nightly \U0001F31D' + - from_username_on_error: 'Bitrise iOS Nightly \U0001F31D' + - message: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> + for + completed successfully.' + - message_on_error: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> + for + failed.' + - icon_url: https://bitrise-public-content-production.s3.amazonaws.com/slack/bitrise-slack-icon-128.png + - icon_url_on_error: https://bitrise-public-content-production.s3.amazonaws.com/slack/bitrise-slack-error-icon-128.png -- cgit v1.2.1