Closed midopa closed 8 years ago
Have you tried to solve such problem by setting https://github.com/damianszczepanik/cucumber-reporting/blob/master/src/main/java/net/masterthought/cucumber/Configuration.java#L65 ?
I tried setting it through the Jenkins plugin and the URLs are still wrong:
//localhost:8080/job/Sandwich/job/jam=raspberry,bread=rye,cheese=cheddar/58/cucumber-html-reports/
setJenkinsBasePath
is meant to point to the Jenkins instance, not to the Jenkins project, because the report tool crafts the rest of the URL path and appends it to the base path.
So it seems the reporter should be made aware of a few things:
Can you prepare PR with correct solution? Seems like not many installations have this option enabled so its hard to test it
Turns out this is a simple fix that can be done in the Jenkins plugin. PR coming for that repo
Fix is merged. Will be avail next plugin release. So I'll close this.
Valid link:
//localhost:8080/job/Sandwich/58/jam=raspberry,bread=rye,cheese=cheddar/cucumber-html-reports/
But the links in the generated page look like:
//localhost:8080/job/jam=raspberry,bread=rye,cheese=cheddar/58/cucumber-html-reports/
This is consistent for all three links: