diff options
author | Jason Wray <jason@mapbox.com> | 2017-03-15 23:31:50 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2017-03-16 03:40:28 -0400 |
commit | 68d98842636e93520057168b2d00180e95a0b4a6 (patch) | |
tree | 71e3d9c8670a71b61ac72816aff2bfd06e2f71b8 | |
parent | af3898d980d43663d15884fa85d8fbb6339bfbdc (diff) | |
download | qtlocation-mapboxgl-68d98842636e93520057168b2d00180e95a0b4a6.tar.gz |
[build] Post nightly build status to Slack
-rw-r--r-- | platform/ios/bitrise.yml | 15 |
1 files changed, 15 insertions, 0 deletions
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 <https://github.com/mapbox/mapbox-gl-native/compare/${BITRISE_GIT_BRANCH}@%7B1day%7D...${BITRISE_GIT_BRANCH}|mapbox/mapbox-gl-native@${BITRISE_GIT_BRANCH}> + completed successfully.' + - message_on_error: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> + for <https://github.com/mapbox/mapbox-gl-native/compare/${BITRISE_GIT_BRANCH}@%7B1day%7D...${BITRISE_GIT_BRANCH}|mapbox/mapbox-gl-native@${BITRISE_GIT_BRANCH}> + 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 |