Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
/ slack-plugin Public archive
forked from jenkinsci/slack-plugin

A Jenkins CI plugin for posting notifications to a Slack channel

Notifications You must be signed in to change notification settings

Jimdo/slack-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack plugin for Jenkins Build Status Slack Signup

Provides Jenkins notification integration with Slack.

Install Instructions

  1. Get a Slack account: https://slack.com/
  2. Configure the Jenkins integration: https://my.slack.com/services/new/jenkins-ci
  3. Install this plugin on your Jenkins server
  4. Configure it in your Jenkins job (and optionally as global configuration) and add it as a Post-build action.

Security

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: image

Select that credential as the value for the Integration Token Credential ID field: image

Jenkins Pipeline Support

Includes Jenkins Pipeline support as of version 2.0:

slackSend color: 'good', message: 'Message from Jenkins Pipeline'

Developer instructions

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

About

A Jenkins CI plugin for posting notifications to a Slack channel

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 93.9%
  • HTML 5.8%
  • Groovy 0.3%