Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 0 additions & 97 deletions docs/generated/actions/hipchat.md

This file was deleted.

14 changes: 4 additions & 10 deletions docs/getting-started/android/running-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,16 @@ fastlane tests

### Posting build results

If you want to post test results on Slack, Hipchat, or other team chat client, check out the available [fastlane actions](/actions/#notifications).
If you want to post test results on Slack or other team chat client, check out the available [fastlane actions](/actions/#notifications).

#### Build failures

##### Hipchat

To post a message when _fastlane_ encounters a test or build failure, add the following to your `Fastfile`:

```ruby
error do |ex|
hipchat(message: "Tests have failed!",
channel: "Room or @username",
success: false)
error do |lane, exception|
# Call here an action to post a message to your team chat.
end
```

##### Other services

The above example uses Hipchat, but _fastlane_ supports [many other services out there](/actions/#notifications).
For a full list of the available notification actions, check out the [notifications section](/actions/#notifications).
27 changes: 4 additions & 23 deletions docs/getting-started/ios/running-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,35 +60,16 @@ fastlane tests

### Posting build results

If you want to post test results on Slack, Hipchat or other team chat client, check out the available [fastlane actions](/actions/#notifications).
If you want to post test results on Slack or other team chat client, check out the available [fastlane actions](/actions/#notifications).

#### Build failures

##### Slack

If you're using Slack, this is already built-into the default `run_tests` action, just provide your Slack URL:

```ruby
lane :tests do
run_tests(scheme: "MyAppTests",
slack_url: "https://hooks.slack.com/services/T03N...",
slack_channel: "#channel")
end
```

To get the `slack_url`, create an `Incoming WebHook` for your Slack group.

##### Other services

To post a message when _fastlane_ encounters a test or build failure, add the following to your `Fastfile`:

```ruby
error do |ex|
hipchat(message: "Tests have failed!",
channel: "Room or @username",
success: false)
error do |lane, exception|
# Call here an action to post a message to your team chat.
end
```

The above example uses Hipchat, but _fastlane_ supports [many other services out there](/actions/#notifications).

For a full list of the available notification actions, check out the [notifications section](/actions/#notifications).
1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ nav:
- hg_commit_version_bump: actions/hg_commit_version_bump.md
- hg_ensure_clean_status: actions/hg_ensure_clean_status.md
- hg_push: actions/hg_push.md
- hipchat: actions/hipchat.md
- hockey: actions/hockey.md
- ifttt: actions/ifttt.md
- import: actions/import.md
Expand Down