Comments (4)
Maybe
is a place to start?And https://github.com/jenkinsci/cobertura-plugin/blob/master/src/main/java/hudson/plugins/cobertura/CoberturaPublisher.java#L216 gets the files from the workspace root.
https://github.com/jenkinsci/cobertura-plugin/blob/master/src/main/java/hudson/plugins/cobertura/CoberturaPublisher.java#L263 has the path to the XML coverage report.
from cobertura-plugin.
I'm down to https://github.com/jenkinsci/cobertura-plugin/blob/master/src/main/java/hudson/plugins/cobertura/CoberturaPublisher.java#L201 where a line says
build.getRootDir().listFiles(COBERTURA_FILENAME_FILTER);
Maybe this should be something like
build.getWorkspace().someSurprisingMethodCalls().listFiles(COBERTURA_FILENAME_FILTER);
I never looked into plugin sourcecode, so I'm not familiar with the differences between getRootDir() and getWorkspace() and other methods with similar names.
Because my project has a reconfigured workspace directory, I think the difference between root dir and workspace dir can cause this problem.
from cobertura-plugin.
Jenkins project use JIRA as a isuue tracking.file a ticket to https://issues.jenkins-ci.org/
from cobertura-plugin.
Closing old ticket.
from cobertura-plugin.
Related Issues (20)
- coverageColumn() cannot be used in listView DSL HOT 1
- Marking job as unstable should be visualised at a stage level HOT 1
- Question - Is it possible to change the package breakdown display
- PR branches should always compare to master HOT 1
- Cannot reset ratcheted targets HOT 2
- Access summary coverage
- Compare metric to last master build HOT 1
- Consider switching trend rendering to ECharts
- remove condition coverage necessity from branch coverage
- Long paths in nested folders / files can result in a "File name too long" error HOT 3
- More screenshots
- Cobertura report fails with "Duplicate key" HOT 5
- Source coverage display fails when using new API
- NullPointerException parsing Cobertura XML HOT 1
- Source code display renders incorrectly when using Dark Mode HOT 2
- Source file mentioned in coverage report not found although absolute path given in xml HOT 1
- Dependency to deprecated / EOL code-coverage-api HOT 10
- java.lang.OutOfMemoryError: Java heap space or how to reducing memory usage by plugin? HOT 3
- Cobertura plugin blocks data being sent to spunk HEC
- Cobertura should be deprecated - depends on deprecated plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobertura-plugin.