From 490907ac29d3a1f4c0eb7574ee7074853a6fc7c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 23 Dec 2015 22:39:34 -0800 Subject: [android, ios, osx] Moved platform identifier into Slack user name Also customized links for brevity. --- platform/android/bitrise.yml | 14 ++++++++------ platform/ios/bitrise.yml | 14 ++++++++------ platform/osx/bitrise.yml | 14 ++++++++------ 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/platform/android/bitrise.yml b/platform/android/bitrise.yml index 31e2ac0743..49eaf40863 100644 --- a/platform/android/bitrise.yml +++ b/platform/android/bitrise.yml @@ -53,13 +53,15 @@ workflows: inputs: - webhook_url: "$SLACK_HOOK_URL" - channel: "#gl-bots" - - from_username: Bitrise - - from_username_on_error: Bitrise - - message: ':robot_face: Build #${BITRISE_BUILD_NUMBER} (${BITRISE_BUILD_URL}) - for mapbox/mapbox-gl-native@${BITRISE_GIT_BRANCH} by ${GIT_CLONE_COMMIT_COMMITER_NAME} + - from_username: 'Bitrise 🤖' + - from_username_on_error: 'Bitrise 🤖' + - message: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> + for + by ${GIT_CLONE_COMMIT_COMMITER_NAME} passed' - - message_on_error: ':robot_face: Build #${BITRISE_BUILD_NUMBER} (${BITRISE_BUILD_URL}) - for mapbox/mapbox-gl-native@${BITRISE_GIT_BRANCH} by ${GIT_CLONE_COMMIT_COMMITER_NAME} + - message_on_error: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> + for + by ${GIT_CLONE_COMMIT_COMMITER_NAME} 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 diff --git a/platform/ios/bitrise.yml b/platform/ios/bitrise.yml index e0765427d6..1c926f126e 100644 --- a/platform/ios/bitrise.yml +++ b/platform/ios/bitrise.yml @@ -60,13 +60,15 @@ workflows: inputs: - webhook_url: "$SLACK_HOOK_URL" - channel: "#gl-bots" - - from_username: Bitrise - - from_username_on_error: Bitrise - - message: ':iphone: Build #${BITRISE_BUILD_NUMBER} (${BITRISE_BUILD_URL}) - for mapbox/mapbox-gl-native@${BITRISE_GIT_BRANCH} by ${GIT_CLONE_COMMIT_COMMITER_NAME} + - from_username: 'Bitrise 📱' + - from_username_on_error: 'Bitrise 📱' + - message: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> + for + by ${GIT_CLONE_COMMIT_COMMITER_NAME} passed' - - message_on_error: ':iphone: Build #${BITRISE_BUILD_NUMBER} (${BITRISE_BUILD_URL}) - for mapbox/mapbox-gl-native@${BITRISE_GIT_BRANCH} by ${GIT_CLONE_COMMIT_COMMITER_NAME} + - message_on_error: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> + for + by ${GIT_CLONE_COMMIT_COMMITER_NAME} 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 diff --git a/platform/osx/bitrise.yml b/platform/osx/bitrise.yml index a5397d9a96..91ee27994e 100644 --- a/platform/osx/bitrise.yml +++ b/platform/osx/bitrise.yml @@ -52,13 +52,15 @@ workflows: inputs: - webhook_url: "$SLACK_HOOK_URL" - channel: "#gl-bots" - - from_username: Bitrise - - from_username_on_error: Bitrise - - message: ':desktop_computer: Build #${BITRISE_BUILD_NUMBER} (${BITRISE_BUILD_URL}) - for mapbox/mapbox-gl-native@${BITRISE_GIT_BRANCH} by ${GIT_CLONE_COMMIT_COMMITER_NAME} + - from_username: 'Bitrise 🖥' + - from_username_on_error: 'Bitrise 🖥' + - message: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> + for + by ${GIT_CLONE_COMMIT_COMMITER_NAME} passed' - - message_on_error: ':desktop_computer: Build #${BITRISE_BUILD_NUMBER} (${BITRISE_BUILD_URL}) - for mapbox/mapbox-gl-native@${BITRISE_GIT_BRANCH} by ${GIT_CLONE_COMMIT_COMMITER_NAME} + - message_on_error: '<${BITRISE_BUILD_URL}|Build #${BITRISE_BUILD_NUMBER}> + for + by ${GIT_CLONE_COMMIT_COMMITER_NAME} 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