Search code examples
jenkinsslackslack-api

Is there a way to add members to a slack channnel from jenkins


I'm trying to add members to a slack channel who have breached some baselines during the build process in a Jenkins job. I was able to integrate and send messages to the channel, but not aware of where to strike for adding members to a channel.


Solution

  • You could use this Slack API in a Jenkins job and take the user name as a parameter.