Based on a fork of the Slack plugin:
https://github.com/jenkinsci/slack-plugin/
Which was a fork of the HipChat plugin:
https://github.com/jlewallen/jenkins-hipchat-plugin
Which was, in turn, a fork of the Campfire plugin.
Includes Jenkins Pipeline support as of version 2.0:
mattermostSend color: 'good', message: 'Message from Jenkins Pipeline', text: 'optional for @here mentions and searchable text'
- Set up a Mattermost server
- Configure an incoming webhook
- Install this plugin on your Jenkins server
- Add it as a Post-build action in your Jenkins job.
Install Maven and JDK.
Run unit tests
mvn test
Run findbugs:
mvn findbugs:check
Create an HPI file to install in Jenkins (HPI file will be in target/mattermost.hpi
).
mvn package