1

When I try to execute the Protractor Cucumber framework in Jenkins under the server it successfully generates the report with the below error. When I execute the same code in Jenkins under the local machine the report is generated successfully without any error.

Allure Report: enter image description here

Console Error: enter image description here

Ashok kumar Ganesan
  • 1,098
  • 5
  • 20
  • 48

1 Answers1

0

Cucumber reporter fails if you are trying to save e.g.

reports/cucumber/cucumber_reports.json

and if the folder cucumber does not exist in the reports folder then it crashes.

Try sharing your protractor.conf.js file

AndreasM_DK
  • 302
  • 1
  • 8