A
A
Alexander2015-04-14 12:28:51
Software testing
Alexander, 2015-04-14 12:28:51

How to set up Cobertura reporting coverage in Jenkins?

At the moment, Jenkins is running, the build is working properly. But! Now the assembly saves coverage information only for the latest build, which is not very convenient, because. There are more and more builds, more branches, and I would like to see their coverage without rebuilding. There is a /workspace directory, where the /jobs directory is built, where old builds are stored. The coverage.xml file is present in the folder with the build number. But jenkins does not see it and issues the following:
Source code is unavailable. Some possible reasons are:
This is not the most recent build (to save on disk space, this plugin only keeps the most recent build's source code).
Cobertura found the source code but did not provide enough information to locate the source code.
Cobertura could not find the source code, so this plugin has no hope of finding it.
You do not have sufficient permissions to view this file.
I've searched all the googles and I can't figure it out

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question