-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.455
Coverage 1.14.0
When trying to access the coverage results of a build through the api as described in the documentation we are getting a 404.
For a build under https://some.jekins.server.com/job/SomeFolder/job/Project/job/Repository/job/Branch/95/
we would try to get the coverage results through https://some.jekins.server.com/job/SomeFolder/job/Project/job/Repository/job/Branch/95/coverage/api/json?pretty=true
but this results in a 404
Seems like this is supposed to work (bug maybe not for multi-branch pipelines?) or if we are doing something wrong to make this work.
Managed to get it working with some trail and error.
As we do recordCoverage for serveral suites with a specific name and id the url suffix is not the default one "/coverage/api/json?pretty=true"
For example when doing recordCoverage with id and name "UnitTests" the suffix will become
"/UnitTests/api/json?pretty=true"
So this would not be a bug but rather a documentation improvement