Skip to content

Instantly share code, notes, and snippets.

@anzfactory
Last active August 18, 2019 02:39
Show Gist options
  • Save anzfactory/a205c5444f0b0e31712f136672f820fe to your computer and use it in GitHub Desktop.
Save anzfactory/a205c5444f0b0e31712f136672f820fe to your computer and use it in GitHub Desktop.
XCTestで失敗した時だけSlackにメッセージ投げるBitrise設定のサンプル
- xcode-test:
inputs:
- export_uitest_artifacts: 'true'
- scheme: "$BITRISE_UI_TEST_SCHEME"
- slack:
run_if: '{{enveq "BITRISE_XCODE_TEST_RESULT" "failed"}}'
inputs:
- webhook_url: "$SLACK_WEBHOOK_URL"
- message: 'テスト失敗'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment