Search code examples
jenkinscucumber-jvm

Jenkins with cucumber-html-reports post build


I'm trying to publish Cucumber json report with the cucumber-html-reports (configuration) plugin. I have version 0.0.19 installed.

Since my Jenkins' context is /jenkins-ci/ I need to add the parameter Plugin Url Path as described in the page instructions. I try to put /jenkins-ci/ or full URL: host:port/jenkins-ci/plugin but both options fail.

Note - The build passes. Reports are created. The console output is good, but clicking the reports link, I get a 404...

Any ideas?


Solution

  • As I suspected, the problem was a combination of problems in my generated json file (empty targets) and problems with the plugin.

    After some joint work with Kingsley Hendrickse (the author of the plugin), a new version of the plugin was released (0.0.20), which fixed all these problems!

    The plugin page is here.

    I want to publicly thank Kingsley for his help and support!

    I hope somone finds this post useful.