It's great to know about how your Jenkins builds are working; now you can add Slack notifications to your Jenkins builds by using the following plugin: https://wiki.jenkins.io/display/JENKINS/Slack+Plugin, of course in combination with the Plastic SCM integration for Jenkins.
It looks like this:
Let's go through the installation and configuration steps. You actually need to setup two plugins, one for Slack and another one for Jenkins. Both are pretty easy to get them up and running in minutes.
Slack plugin installation
This is the shortcut to install a Jenkins bot app at your Slack organization. Just replace "my" with your real Slack organization name: https://my.slack.com/services/new/jenkins-ci
First, select a Slack channel to post the Jenkins notifications:
Second, feel free to customize the Jenkins bot image and name:
Finally, write down the App Token ID since you will be using it soon.
Jenkins plugin installation
To find your Jenkins plugin in your Jenkins dashboard, click on Manage Jenkins in the left navigation.
Click Manage Plugins and search for the Slack Notification Plugin in the Available tab. Ensure the version is 2.2. Click the checkbox and install the plugin.
After it's installed, click Manage Jenkins again in the left navigation, and then go to Configure System. Find the Global Slack Notifier Settings section and add the following values:
- Base URL:
- Integration Token:
The other fields are optional. You can click on the question mark icons next to them for more information. Press Save when you're done.
Note: Please remember to replace the example Base URL and Integration Token in the screenshot below with your own.
In the Slack Notifications section, choose the events that you'd like to be notified about.