History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1240
Type: Bug Bug
Status: Resolved Resolved
Resolution: Incomplete
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Daniel Potter
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Unable to view source from Cobertura report

Created: 21/Mar/12 01:23 PM   Updated: 28/Dec/12 07:03 AM
Component/s: None
Affects Version/s: 4.0.29
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows Server 2008 Enterprise, MySQL, Java 6


 Description  « Hide
We use a cobertura report step in all of our builds. The report generation works fine, but none of the source code links work. All of them return an error page with the following message - "File not found in repository: ", followed by the relative source code file path.

No errors appear in our System Log when this occurs, even with DEBUG enabled, and the source code is present in the configuration's working directory.

View source for our PMD reports works, but not Cobertura. We also have issues viewing source from the FindBugs report, but that seems to work for some files and not others.

 All   Comments   Work Log   Change History      Sort Order:
Daniel Potter [21/Mar/12 05:36 PM]
We're actually running 4.0.27, not 4.0.29 as indicated in the header. Sorry!

Robin Shen [22/Mar/12 01:33 AM]
If convenience, please send below info to [robin AT pmease DOT com] and I will check what might be wrong.
1. backup of the database
2. path of the configuration in trouble
3. The cobertura report stored in "<global storage>/builds/<build id>/reports"
4. the file path displayed following the message "File not found in repository:"

Steve Luo [28/Dec/12 07:03 AM]
For property src.dir, should define like below:
src.dir=${basedir}/src
instead of a relative path below:
src.dir=src
otherwise, opening source code from QuickBuild may fail if basedir is different from workspace directory.

See our wiki: http://wiki.pmease.com/display/QB40/Publish+Cobertura+Report for details