I want to use the Slack plugin in Jenkins to ping notifications to a Slack channel.
Jenkins says success when I test the connection, but I don't receive any notifications in my Slack channel.
Are there any known problems?
How can I get Jenkins to send notifications to Slack?
On Jenkins: Find the Slack configuration in "Manage Jenkins → Configure System". On Jenkins: Click "Add" to create a new "Secret text" Credential with that token. On Jenkins: Select the new "Secret text" in the dropdown. On Jenkins: Make note of the "Default channel / member id".
Go to Jenkins job > Go to the post-build section > Select Slack Notifications. In the Slack Notifications section, choose the events you would like to be notified about. Now Build the Jenkins job. Based on the build result you will receive a Slack notification on the Slack channel as shown below.
I think that you should add post-build action "Slack Notification" in your Jenkins. Please see the image below
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With