次の構成を使用して、 Appveyorのプライベート チャネルに Slash 通知をセットアップしようとしました( xxxxxxは、ここで暗号化されたトークンです)。
notifications:
- provider: Slack
channel: dev
auth_token:
secure: xxxxxx
Appveyorビルドで次のエラーが表示されます。
Error sending Slack notification: Error sending Slack message: channel_not_found
次の URL で Slash API をテストすると、動作します: https://slack.com/api/chat.postMessage?token=xxxxxx&channel=dev&text=hello&pretty=1 ( xxxxxxは暗号化されていない私のトークンです)。
チャンネルがプライベートでない場合にも機能します。