I am trying to get coverage results from Jenkins using the REST API and the Cobertura plugin.
It looks like I can get top-level information about coverage results, as the Cobertura plugin causes the resulting row to produce the healthReport result.
However, I would like more details on the scope of the code.
So I tried:
<jenkins url>/job/<job>/<buildNo>/cobertura/api/json
I get only empty results. I assume that the Cobertura plugin simply did not implement an API to return this information.
Is there any other way to get this information programmatically besides modifying the Cobertura plugin?
kimon source
share