-
Bug
-
Resolution: Not A Defect
-
Critical
-
Windows 7 x64
Jenkins 1.609
Slack plugin 1.7
Upon trying to use the slack plugin via a git commit triggered build on my jenkins server, I get this error on my jenkins log:
Apr 16, 2015 1:42:37 PM INFO jenkins.plugins.slack.StandardSlackService publish
Posting: to #ekko_project on sensoft using https://sensoft.slack.com/services/hooks/jenkins-ci?token=k2G8FiYNauB9DzSHKBwmaDrI: EKKO_Project - #6602 Success after 58 sec (<http://bounds-pc:8080/job/EKKO_Project/6602/|Open>) green
Apr 16, 2015 1:42:37 PM WARNING jenkins.plugins.slack.StandardSlackService publish
Slack post may have failed. Response: Private integrations can't post to public channels
I had a similar issue, This could be because you added the integration to Slack as a private integration (added to your own profile) and therefore can only post to Direct message, and the private room you have access to.
If you are a Slack admin, try and add the integration to your slack team, this should give the integration the ability to post to public rooms.