Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View cucumber-slack-notifier on the plugin site for more information.

This plugin is up for adoption. Want to help improve this plugin? Click here to learn more!

A plugin to send a summarised cucumber report to a slack channel.

Jenkins Pipeline Usage

Use within a node block as the example below shows:

node {
    stage 'Cucumber Reports'
 
    // process cucumber reports
    step([$class: 'CucumberReportPublisher', jsonReportDirectory: 'target/', fileIncludePattern: '*.json'])

    // send report to slack
    cucumberSendSlack: channel: 'test-results-channel', json: 'target/test-results.json' 
}

Installation Instructions

Global Configuration

Job Configuration

Change Log

Version 0.8.2 (4th July 2016)
  • Added ability to add custom text a message
Version 0.8.1 (4th July 2016)
  • Fixed issue with link generation in slack message
Version 0.8 (3th July 2016)
  • Added Jenkins Pipeline Support
Version 0.7 (17th Dec 2015)
  • Added Build Step & Post Build Notifiers
  • Added Global Config Validation
  • Implemented common service for sending notifications
Version 0.6.1 (17th Dec 2015)
  • Fixed invalid check for configuration
Version 0.6 (16th Dec 2015)
  • Correctly reading json report file from the workspace directory
Version 0.4 (15th Dec 2015)
  • Initial Release

3 Comments

  1. Unknown User (ebrahim_moshaya)

    Hi, can you please give me an example of what to put in the Web Hook Endpoint?

    should it be this format: https://<Team Domain>.slack.com

  2. Unknown User (nareenk)

    Hi Gareth,

    I use your cucumber-slack-notifier and it works great. My only concern is the links to the "feature" files in slack - it doesn't take you anywhere. I've incorporated another plugin called cucumber-reports (https://wiki.jenkins-ci.org/display/JENKINS/Cucumber+Reports+Plugin) which provides a report on Jenkins. It would be nice if the feature links posted in slack pointed to specific feature results from Cucumber Report on Jenkins.

    1. Unknown User (rburrowes)