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.
Asked
Active
Viewed 538 times
1

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

Priyadarsini Muthuvel
- 175
- 16
-
Try save to save the json output result in [Cucumber hooks](https://stackoverflow.com/a/44300546/4197679) – Ashok kumar Ganesan Mar 30 '20 at 12:51
1 Answers
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