Based on Mattermost plugin:
https://github.com/jenkinsci/mattermost-plugin/
Includes Jenkins Pipeline support as of version 2.0:
dadapushSend title:"test title", content:"test content"
dadapushSend title:"test title", content:"test content", failOnError:true, channelToken:"ctXXXXXX", basePath:"https://www.dadapush.com"
- go to DaDaPush, sign in or register an account.
- create new channel, save your channel token.
- 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/dadapush.hpi
).
mvn package