<< Back to previous view |
[QB-1240] Unable to view source from Cobertura report
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 4.0.29 |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Daniel Potter | Assigned To: | Robin Shen |
Resolution: | Incomplete | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown | ||
Environment: | Windows Server 2008 Enterprise, MySQL, Java 6 |
Description |
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. |
Comments |
Comment by 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! |
Comment by 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:" |
Comment by 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 |