Provides Jenkins notification integration with Slack.
- Get a Slack account: https://slack.com/
- Configure the Jenkins integration: https://my.slack.com/services/new/jenkins-ci
- Install this plugin on your Jenkins server
- Configure it in your Jenkins job (and optionally as global configuration) and add it as a Post-build action.
Use Jenkins Credentials and a credential ID to configure the Slack integration token. It is a security risk to expose your integration token using the previous Integration Token setting.
Create a new Secret text credential:
Select that credential as the value for the Integration Token Credential ID field:
Includes Jenkins Pipeline support as of version 2.0:
slackSend color: 'good', message: 'Message from Jenkins Pipeline'
Install Maven and JDK. This was last build with Maven 3.2.5 and OpenJDK 1.7.0_75 on KUbuntu 14.04.
Run unit tests
mvn test
Create an HPI file to install in Jenkins (HPI file will be in target/slack.hpi
).
mvn package