Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove slack outgoing webhook functionality #613

Merged
merged 1 commit into from
Aug 18, 2019

Conversation

timja
Copy link
Member

@timja timja commented Aug 18, 2019

They're deprecated and I don't believe anyone is using this feature:
https://api.slack.com/custom-integrations/outgoing-webhooks

Fixes #281
Fixes #283

See #160 (comment)

If anyone is using this feature and would like it restored, raise an issue about it and we can discuss either restoring it or adding the required feature for the slack app functionality

They're deprecated and I don't believe anyone is using this feature:
https://api.slack.com/custom-integrations/outgoing-webhooks
@timja timja added the breaking label Aug 18, 2019
@timja timja changed the title Remove unslack webhook functionality Remove slack outgoing webhook functionality Aug 18, 2019
@timja timja merged commit c44c683 into jenkinsci:master Aug 18, 2019
@timja timja deleted the remove-webhook-functionality branch August 18, 2019 19:23
@timja timja added removed and removed breaking labels Aug 19, 2019
@mecorusfc
Copy link

What does this mean? Does this mean that I can't have a job notify Slack any more? If so, we need this feature.

@timja
Copy link
Member Author

timja commented Sep 3, 2019

No it doesn’t mean that

It means the feature that allowed you to send messages in slack to trigger jobs etc has been removed.

(It was never documented and didn’t work when authentication was required and had some other quirks)

@JamesXNelson
Copy link

so, is there any other way of creating a slack bot? we were recently discussing doing this at one of my clients.

@timja
Copy link
Member Author

timja commented Oct 5, 2019

not currently implemented in this plugin, but you would probably use slash commands in a slack app

@jetersen
Copy link
Member

jetersen commented Oct 5, 2019

@JamesXNelson plenty of ways.

depends what you need?

Options include:

Frameworks:
Use Slack's own framework Bolt (javascript): https://slack.dev/bolt/concepts
Use Botkit (javascript): https://botkit.ai allows you to bots for most chat platforms
Use Microsoft Botframework (c#, javascript): https://www.botframework.com

Otherwise there are plenty of libraries:
https://api.slack.com/community

We use a older version of Botkit but it still works just fine :)
Though for our current needs we properly want to switch to Microsoft BotFramework and develop using C#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slack Webhook get 403 status code if jenkins disable anonymous access Slack Webhook Settings
4 participants