-
Notifications
You must be signed in to change notification settings - Fork 232
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
Cucumber report link not working after renaming or moving jenkins job #297
Comments
Confirmed, will take a look at this soon |
Hi, I did a simple test: For the build, where I can open cucumber-reports: I opened overview-features.html, and just added 'TEST' in the <title> tag, saved it. And when I click on cucumber report link: it gives 404 for overview-features.html. I guess it is because there is some file checksum comparison that is being done - in the SafeArchiveServingAction.java ? (where checksum is being done for the file including the whole directory path), thus serveFile throwing HttpResponses.notFound() ? This is my speculation - I tried to locate the log file of this plugin in jenkins - but could not. Can you tell me where it would be located ? So via jenkins when we rename or move the job, the directory path to the file changes. When I again renamed the job back to what it was before (undoing my change basically) via jenkins, now I can view the cucumber reports. Thanks, |
That was my first idea but checksum is about the content which stays the same. |
Any update on this issue? Having the same problem |
Is there any solution or workaround? It's possible to manually change the path so that the report shows up? |
Any update on this? I see the reports are still on the system & can be accessed from the drive directly. |
I don't think Jenkins support information about path before and after renaming job so I don't think this is possible to support |
We are using cucumber-reports-plugin to publish pretty cucumber reports on jenkins, and this is working great.
However, when I renamed a job or moved the job to a different folder (via the Move jenkins plugin), then I am no longer able to access the older generated cucumber reports for older builds via the 'Cucumber Reports' link on the left side of the build.
I confirmed that the directory cucumber-html-reports is present and all the data is present - the file overview-features.html, the folders of embeddings, js, css, images, fonts, .cahe etc.
Clicking the following hyperlink for 'Cucumber Reports' gives the error:
Link:
http://myjenkinsdomain.com/job/myjobFolder/job/**renamedJobName**/o**ldBuildNumberBeforeRename**/cucumber-html-reports/overview-features.html
Error:
HTTP ERROR 404
This .... page can't be found
No webpage was found for the web address: http://myjenkinsdomain.com/job/myjobFolder/job/renamedJobName/buildNumber/cucumber-html-reports/overview-features.html
How can I get the links working again ?
(Note: The builds I triggered after renaming the job, they all have working links to the cucumber reports - the problem is with accessing the reports for the builds triggered before renaming)
Thank you !
The text was updated successfully, but these errors were encountered: