Unable to run Code Health Report
Hi,
When attempting to run the Code Health report, the Team Area, Build Definition & Component parameters are blank (non to select from). I have no issues running a Build Health report where values are displayed in the Team Area and once I select a team, a choice is presented for the Build Definition parameter. Could someone tell me how I can get the team areas to show up when running a Code Health report. Thanks in advanced, Thaddee |
14 answers
If your build finishes running today, the Code Health report won't show the data immediatly, you have to wait until after midnight. That is when the RTC Data Mart starts collecting the new data.
|
Geoffrey Clemm (30.1k●3●30●35)
| answered May 26 '10, 11:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please post the defect work item on the jazz.net web site.
Just navigate to the RTC project, and you'll see the appropriate place to click on the right-hand side of the page: http://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWelcome As you correctly point out, posting the work item into your own repository would be of no value, except perhaps as a reminder to yourself that you should post it to the jazz.net (:-). Cheers, Geoff On 5/26/2010 11:22 PM, prcpani wrote: nedgarwrote: |
For the report configuration problem, if you haven't already opened a work item, I suggest you do. It sounds like a defect. Hi - Am I requested to post a new defect workitem to jazz RTC web ? (or) I have to post a new defect workitem in my project area ? How this defect workitem is going to help me fix the issue ? please guide me. Thanks and Regards - Perala |
For the report configuration problem, if you haven't already opened a work item, I suggest you do. It sounds like a defect.
http://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWelcome |
Thanks for guidance/steps.
I now got compilation tab. its working as per your steps. I tried to open Code Health Report, still the same issue, Iam not able to view teamarea / build definition list to pick and run report. all list boxes are empty as before getting compilation tab. |
To publish compilation results, you need to:
- download the standalone Java compiler from Eclipse. See 'JDT Core Batch Compiler' (the binary, not source version) at http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/index.php - add this to your Ant library path with a -lib argument in the build definition's Ant page - tell Ant to use this instead of the regular javac by adding to the script:
- use the regular javac task, but with a -log option, using a filename with a .xml suffix to get structured output, e.g.:
- then use the jdtCompileLogPublisher Ant task, or the 'ECJ Publishing' post-build option in the build definition, to publish this file to the build result. The 'compile-and-test' example included in the Build System Toolkit shows how to do this. It's under jazz/buildsystem/buildtoolkit/examples/compile-and-test. The build.xml file provides more details in its comments. |
Hi -
Thanks for the links. I checked build example file in toolkit. for a property build.compiler - it points to JDT compiler class which I dont have in the build machine. Only RTC build engine is running in build machine and not eclipse based RTC client. Can you help me out on how to point to JDT compiler ? Currently Iam using JDK 1.6 compiler that is good for project sources to compile. |
You need to implement the build contributions, the documentation is pretty good here, I would start here: http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.build.doc/topics/t_build_overview.html This section is specifically for contributing your results back to Jazz: http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.build.doc/topics/r_publishbuildresult.html Also you can check the wiki for some example scripts to start with. https://jazz.net/wiki/bin/view/Main/BuildExamples -Sean |
On 5/12/2010 7:08 AM, tbourque wrote: Hi James, Okay, so just to verify, when you open a build result in the build result editor, you see a "Compilation" and a "JUnit" tab in the editor, which contain these results? If this is true, then the report should work correctly. There may be something else going on. Could you open a work item in the Reports component so we can help you track this down? james RTC Reports Team Lead Hi James, Thanks for your valuable information. I have one more query about this discussion. IF Compilation tab is not there then how to obtain compilation tab in build results. I am waiting for you reply. Thanks Gokul |
On 5/12/2010 7:08 AM, tbourque wrote:
Hi James, Okay, so just to verify, when you open a build result in the build result editor, you see a "Compilation" and a "JUnit" tab in the editor, which contain these results? If this is true, then the report should work correctly. There may be something else going on. Could you open a work item in the Reports component so we can help you track this down? james RTC Reports Team Lead |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.