dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 441 forks source link

Slack Notify Error #1033

Open simondotwhite opened 9 years ago

simondotwhite commented 9 years ago

Hi,

I've just installed PHPCI and am interested in the Slack Notifications for builds.

phpci.yml Config

complete:
  slack_notify:
    webhook_url: "https://hooks.slack.com/services/REMOVED"

Build Output:

RUNNING PLUGIN: slack_notify
Exception: Server error: 500
PLUGIN: FAILED

Is there somewhere I can see what the error is, or do I need to change my settings for it to work?

AlexStansfield commented 9 years ago

I've not tried it myself but I did notice that by default the plugin sets the channel to #phpci unless you set it in the config.

In the slack integration settings you pick the channel you want to post into. Perhaps the error is because it's trying to post into #phpci but your settings are for a different channel.

I set the name in the config room: "#myroom" to the same as in the slack settings.

If I get a chance later I'll remove that and see what happens.

REBELinBLUE commented 8 years ago

@Sekonda did you ensure the channel existed?