Giter Club home page Giter Club logo

cucumber-slack-notifier-plugin's Introduction

cucumber-slack-notifier-plugin

Jenkins plugin to push summarised Cucumber reports to Slack

Build Status

Installation

Coming Soon...

Configuration

The following options are available:

Global Configuration

  • webHookEndpoint
  • jenkinsServerUrl

TODO: add a screen shot here

Build Configuration

  • channel - slack channel to post result to
  • json - json file containing the cucumber results, e.g. target/cucumber.json

TODO: add a screen shot here

cucumber-slack-notifier-plugin's People

Contributors

garethjevans avatar

Watchers

 avatar  avatar

cucumber-slack-notifier-plugin's Issues

boolean hideSuccessfulResults

Having a hard time getting hideSuccessfulResults in pipeline, it's asking for a sting in the pipeline but in the code it looks like its asking for a boolean. I've tried various ways to get it to work, but successful results are still posting to slack

Open filehandle

Hi,

i've added your plugin as post/always step and it seems, that the stream reading the cucumber results is not getting closed. After the build there is a open filehandle pointing to the .json, which prevents the workspace from being deleted and the current or following builds to fail. If i remove the slack notification, everything works as expected (no open handle).

Thanks!

Best regards,
Denis

Features in nested folders created bad links

There is no HTML file located at:
http://jenkins/job/my_job/207/cucumber-html-reports/features/active/alpha/login.feature.html

The correct link should look like this:
http://jenkins/job/my_job/207/cucumber-html-reports/features-active-alpha-login-feature.html

It appears / and . must be replaced with - at some point.

I will create a fork and try this out.

Sending Cucumber report on slack from jenkins

Hi,
I am facing two issuees using this plugin,
From my server I get javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated error whereas the Jenkins is configured under proxy. I have also tried to add the trust certificates in the java keystore but still the same error.
From my local machine I get java.lang.RuntimeException: Received HTTP Status code [400] while posting to slack. Can you please help?

Backgrounds counted as scenarios

I ran one feature file with 5 scenarios (out of 2 scenario outlines) and one background, leading to a summary with 10 counted scenarios.In the cucumber.json file, background blocks are separately placed in front of every scenario, so it seems that they've been counted too - is this intended?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.