1. memedough
  2. pytest-cov
  3. Issues
Issue #9 new

Compatibility with Cobertura for Jenkins

Andreas Jung
created an issue

We are testing a Pyramid application using pytest + pytest_cov through Jenkins. The Cobertura plugin for Jenkins picks up the coverage.xml file and displays the coverage for files and modules however the module can not access the sources.- The following error message popups up:


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.

Is there any option for making the source code information available to the plugin?

Comments (0)

  1. Log in to comment