Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix showing most coverage sources #2

Merged
merged 2 commits into from
Oct 18, 2016
Merged

fix showing most coverage sources #2

merged 2 commits into from
Oct 18, 2016

Conversation

dirk-thomas
Copy link
Member

This patch rewrites the absolute paths used within Docker to the absolute paths on the Jenkins system. That allows Cobertura to show the sources referenced in the report.

For plain Python packages it doesn't work yet. It looks to me that this is an upstream bug in coverage.py (see https://bitbucket.org/ned/coveragepy/issues/526/generated-xml-invalid-paths-for-cobertura).

Fixes most of ros2/ros2#241.

See latest build using this branch:

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Oct 17, 2016
@dirk-thomas dirk-thomas self-assigned this Oct 17, 2016
Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code changes lgtm

@dirk-thomas dirk-thomas merged commit 5a91efc into master Oct 18, 2016
@dirk-thomas dirk-thomas deleted the coverage_sources branch October 18, 2016 18:33
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants