Skip to content

cucumber cannot generate report #407

@dkim-dev

Description

@dkim-dev

Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/lib/jenkins/workspace/Skynet Automation/pom.xml to Skynet/Skynet/1.0-SNAPSHOT/Skynet-1.0-SNAPSHOT.pom
[Skynet Automation] $ /bin/sh -xe /tmp/jenkins7393655887606103922.sh
channel stopped

  • cat target/cucumber-pretty.txt

Scenario Outline: Test the ability of e-Card download # src/test/java/eCards/Ecards.feature:15
Given the user navigates to the https://something.com/ site # binders.webAppBinders.EcardStepDefs.theUserNavigatesToTheECardSite(java.lang.String)
When the user clicks the button to download the ecard # binders.webAppBinders.EcardStepDefs.theUserClicksTheButtonToDownloadTheEcard()
Then a success page is displayed to the user # binders.webAppBinders.EcardStepDefs.aSuccessPageIsDisplayedToTheUser()
And the ecard file is being saved to the machine # binders.webAppBinders.EcardStepDefs.theEcardFileIsBeingSavedToTheMachine()
[CucumberReport] Using Cucumber Reports version 5.6.1
[CucumberReport] JSON report directory is "/var/lib/jenkins/workspace/Skynet Automation/target"
[CucumberReport] Copied 1 properties files from workspace "/var/lib/jenkins/workspace/Skynet Automation/target" to reports directory "/var/lib/jenkins/jobs/Skynet Automation/builds/96/cucumber-html-reports/.cache"
[CucumberReport] Copied 2 files from workspace "/var/lib/jenkins/workspace/Skynet Automation/target" to reports directory "/var/lib/jenkins/jobs/Skynet Automation/builds/96/cucumber-html-reports/.cache"
[CucumberReport] Processing 2 json files:
[CucumberReport] /var/lib/jenkins/jobs/Skynet Automation/builds/96/cucumber-html-reports/.cache/cucumber-usage.json
[CucumberReport] /var/lib/jenkins/jobs/Skynet Automation/builds/96/cucumber-html-reports/.cache/cucumber.json
[CucumberReport] Missing report result - report was not successfully completed
[CucumberReport] Build status is left unchanged
Finished: SUCCESS

Version report

Jenkins and plugins versions report:

jenkins version: 2.303.3
cucumber-report version: 5.6.1
  • What Operating System are you using (both controller, and any agents involved in the problem)?
I've tried multiple set ups:
system1: jenkins on a single ubuntu 18.04
system2: jenkins on a single windows 2016 server
system3: jenkins on ubuntu 18.04 and agent on windows 2016 server
  • I can see files in workspace under ./target
  • but cucumber still cannot generate the report...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions