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
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
Hi James,
Please see answers to your questions below.
Thanks,
Thaddee
Yes
Yes
Yes (code compilation results are embedded in the RTC build log)
Typical way
Please see answers to your questions below.
Thanks,
Thaddee
Do you have JUnit tests configured?
Yes
Are they contibuted to a build result in the normal way?
Yes
Does your build compile Java code?
Yes (code compilation results are embedded in the RTC build log)
Is it configured in the typical way or do you have a custom build setup?
Typical way
Thaddee,
The Code Health reports presents SCM data stored in our data warehouse.
Because this data can be expensive to collect, we don't collect it by
default. To turn on data collection for one or more of your streams:
1. Go to the Reports Web UI, as a user with JazzAdmin or JazzDWAdmin
permissions.
2. Click on the "Administer SCM Snapshot" link in the lower left.
3. Check the checkbox beside any stream for which you'd like data collected.
4. Either wait overnight for the snapshot to run automatically, or
manually run the snapshots using the "Administer Data Warehouse" link.
5. Run the report again; it should have data now.
james
RTC Reports Team Lead
Thanks James,
We followed the steps provided above two days ago and we are still not able to select a Team Area, Build Definition & Component parameters (still blank) when running the Code Health report. We are unable to run the report without selecting these parameters. Please let me know if there is anything else we can check to see why this is happening.
Thanks,
Thaddee
Okay, so this may instead be related to the way your builds are set up. Code Health actually has two charts in it. One presents information gathered during JUnit execution of a build. Do you have JUnit tests configured? Are they contibuted to a build result in the normal way? The other displays code warnings from Java compilation. Does your build compile Java code? Is it configured in the typical way or do you have a custom build setup?
james
Thaddee,
The Code Health reports presents SCM data stored in our data warehouse.
Because this data can be expensive to collect, we don't collect it by
default. To turn on data collection for one or more of your streams:
1. Go to the Reports Web UI, as a user with JazzAdmin or JazzDWAdmin
permissions.
2. Click on the "Administer SCM Snapshot" link in the lower left.
3. Check the checkbox beside any stream for which you'd like data collected.
4. Either wait overnight for the snapshot to run automatically, or
manually run the snapshots using the "Administer Data Warehouse" link.
5. Run the report again; it should have data now.
james
RTC Reports Team Lead
Thanks James,
We followed the steps provided above two days ago and we are still not able to select a Team Area, Build Definition & Component parameters (still blank) when running the Code Health report. We are unable to run the report without selecting these parameters. Please let me know if there is anything else we can check to see why this is happening.
Thanks,
Thaddee
On 4/15/2010 10:23 AM, tbourque wrote:
Thaddee,
The Code Health reports presents SCM data stored in our data warehouse.
Because this data can be expensive to collect, we don't collect it by
default. To turn on data collection for one or more of your streams:
1. Go to the Reports Web UI, as a user with JazzAdmin or JazzDWAdmin
permissions.
2. Click on the "Administer SCM Snapshot" link in the lower left.
3. Check the checkbox beside any stream for which you'd like data collected.
4. Either wait overnight for the snapshot to run automatically, or
manually run the snapshots using the "Administer Data Warehouse" link.
5. Run the report again; it should have data now.
james
RTC Reports Team Lead
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
Thaddee,
The Code Health reports presents SCM data stored in our data warehouse.
Because this data can be expensive to collect, we don't collect it by
default. To turn on data collection for one or more of your streams:
1. Go to the Reports Web UI, as a user with JazzAdmin or JazzDWAdmin
permissions.
2. Click on the "Administer SCM Snapshot" link in the lower left.
3. Check the checkbox beside any stream for which you'd like data collected.
4. Either wait overnight for the snapshot to run automatically, or
manually run the snapshots using the "Administer Data Warehouse" link.
5. Run the report again; it should have data now.
james
RTC Reports Team Lead
page 2of 1 pagesof 2 pages