1

次の構成を使用して、 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は暗号化されていない私のトークンです)。

チャンネルがプライベートでない場合にも機能します。

4

2 に答える 2

1

これは、現在修正されているバグによるものです: https://github.com/appveyor/ci/issues/623

于 2016-02-06T08:06:31.543 に答える