Search code examples
jenkinscucumberreport

Jenkins Cucumber report shows duplicate results


I'm not sure why I am getting duplicate results for the report. Some features are passing but the same features show failed scenario. Any help would be appreciated My plugin

@CucumberOptions(
        plugin = {"pretty",
                "html:target/cucumber-report.html",
                //"junit:target/cucumber-reports/report.xml",
                "json:target/cucumber-reports/report.json",
                "com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:"

enter image description here


Solution

  • Seems like you are merging multiple .json cucumber file for reporting - all you can do is select the way you want to merge your reports, it will be done.

    Cucumber Report Advanced Options in Jenkins