Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 when opening cucumber report #168

Closed
remcowesterhoud opened this issue May 9, 2017 · 5 comments
Closed

404 when opening cucumber report #168

remcowesterhoud opened this issue May 9, 2017 · 5 comments

Comments

@remcowesterhoud
Copy link

remcowesterhoud commented May 9, 2017

I'm getting a 404 when trying to open the Cucumber report.

The console logs this:

[CucumberReportPublisher] Compiling Cucumber Html Reports ...
[CucumberReportPublisher] Copying all json files from: d:\jenkinsws\Regression-test\**\*RT.json to reports directory: D:\JenkinsHome\jobs\Regression-test\builds\2017-05-09_08-58-13\cucumber-html-reports
[CucumberReportPublisher] there were no json results found in: D:\JenkinsHome\jobs\Regression-test\builds\2017-05-09_08-58-13\cucumber-html-reports

The json files are created and are valid. They are sitting in an directory that matches the path mentioned. However, they do not get copied to the cucumber-html-reports folder.

@damianszczepanik
Copy link
Owner

Last line says that the report did not find any JSON file so it could not be generated

@remcowesterhoud
Copy link
Author

It is generated, it just doesn't copy it to the folder properly

@damianszczepanik
Copy link
Owner

Then the configuration of the plugin which decide what should be copied is not proper. Leave it empty and chech which files are copied. Then tune this configuration

@remcowesterhoud
Copy link
Author

Hmm, I tried leaving the configuration empty and now it did find my json files. However, this way it also matches with ~1000 other json files that aren't test results.

What I'm wondering is how it could find them now. Can I not use Ant naming patterns? It seems to me that **/*RT.json should be matching all files in the workspace that end on RT.json which would be all my test results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants